ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Write VB6 code to be used with VBA (https://www.excelbanter.com/excel-programming/387037-write-vb6-code-used-vba.html)

avi

Write VB6 code to be used with VBA
 
Hello,

I am new in what to seem not an easy task. I'm trying to perform 2
tasks:

Refer in VB6 to the active open workbook.

Refer in VB6 to an userform created in VBA and residing there.

Could i get some help for these 2 specific tasks. Besides that, is
there some documentation about writing code in VB6 that refers to
Excel objects?

Thanks a lot
Avi


Jim Cone

Write VB6 code to be used with VBA
 

"GetObject" is the magic word...

http://support.microsoft.com/kb/219151/en-us
"How to automate Microsoft Excel from Visual Basic"
http://support.microsoft.com/kb/302460/en-us
"The Office XP Automation Help file is available for download"
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"avi" wrote in message ups.com...
Hello,
I am new in what to seem not an easy task. I'm trying to perform 2
tasks:
Refer in VB6 to the active open workbook.
Refer in VB6 to an userform created in VBA and residing there.
Could i get some help for these 2 specific tasks. Besides that, is
there some documentation about writing code in VB6 that refers to
Excel objects?
Thanks a lot
Avi



All times are GMT +1. The time now is 07:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com