hello,
can I insert my vba code for excel into the code of a vb application if I've created an Excel sheet object in the vb code: Set ApExcel = CreateObject("Excel.sheet"?
Thanks!
As long as you make your your VB project includes a reference to the Microsoft Excel Object Library (Project -> References ->[Scroll down and place a checkmark to Microsoft Excel {Version Number} Object Library]), you should be able to use the VBA Code with the Excel sheet.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.