Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

automation

Status
Not open for further replies.

jayjay60

Programmer
Jun 19, 2001
97
FR
I have already seen how to create an simple automation which could open known workbook and worksheet. But, after this step I would like to catch some cells.value, and after send those value as parameter to a function implement in c++.
If anybody know an article or have done this kind of exercise, I will appreciate his help.

Thanks

Gerald
 
I think you should just read in OLE/COM object viewer(from menu tools) the needed object. Choose All Objects, see your object. Right click on interface IDispatch and click vew type info of interface. See there all the methods and properties. What to do, is ti query the IDispatch from IUnknown of your object you've created. After it, call invoke. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top