only this idea, I don't know if it will work at all:

Qt Code:
  1. QString after = worksheet_copy_after->asVariant().toString(); // don't know if this works!
  2. QString call("Copy(missing,%1)");
  3. call = call.arg(after);
  4.  
  5. activeX->dynamicCall(call.toLatin1().constData());
To copy to clipboard, switch view to plain text mode 

I thought of that after reading http://msdn.microsoft.com/en-us/libr...(v=vs.80).aspx and http://qt-project.org/doc/qt-4.8/qax...ml#dynamicCall. The problem is how to deal with 'missing' correctly. If you can think of some way to access System.Type.Missing then that will probably help.