Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21861

How to use the CoGetObject API function in VB6 ?

$
0
0
Hi all,

I have an excel workbook open in excel and I know its full path/Name
I want to get a COM pointer to the open workbook from my VB6 application using the CoGetObject API instead of the GetObject native VB6 function.

Does anyone have a code example ? I have been googling and trying to get this function work but without any luck so far.

Regards.

Viewing all articles
Browse latest Browse all 21861

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>