How to copy clipboard data to excel worksheet

R

rosmie

Hi,

I am working on a C++ excel automation project . I am finding it hard to get
good c++ documentation for excel automation. Can someone can help me on this?

Also it would be great if someone tells me how to copy clipboard data to
excel range?

I think I need to use ExcelWorksheet.Paste(VARIANT destination, VARIANT
link) method.

But can I get an explanation/code sample for this?

Thanks in advance!
 
S

SvenC

Hi,
I am working on a C++ excel automation project . I am finding it hard to
get good c++ documentation for excel automation. Can someone can help me
on this?

Also it would be great if someone tells me how to copy clipboard data to
excel range?

I think I need to use ExcelWorksheet.Paste(VARIANT destination, VARIANT
link) method.

But can I get an explanation/code sample for this?

You might find it helpful to use the macro recorder to record the steps you
want to automate (pasting some content in your case). Then look at the
recorded VBA code which should not be too difficult to "transform" to C++.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top