i have a macro that creates an ADO connnection object & manipulates the recordset within the macro in excel.
i wish to use the vba code to create a standalone .vbs file to run on a desktop.
In order for the code to work I have to reference the latest Active X library (for me 2.8), if not the code breaks.
When i stick the code in and run it from a vbs file it breaks in the same way, but i dont know how to make it reference the appropriate library from within a vbs.
I have NO experience of VB script, but some excel vba. Is there something I am missing here?
Cheers for any input you can offer
i wish to use the vba code to create a standalone .vbs file to run on a desktop.
In order for the code to work I have to reference the latest Active X library (for me 2.8), if not the code breaks.
When i stick the code in and run it from a vbs file it breaks in the same way, but i dont know how to make it reference the appropriate library from within a vbs.
I have NO experience of VB script, but some excel vba. Is there something I am missing here?
Cheers for any input you can offer