I have a DB that, using automation VBA creates one instance apiece of excel and word, populates the excel sheet, then updates a charts & tables in a word document (linked to the newly populated excel file).
One problem I have, though, is this means I cannot use excel or word while my program is running in the background, because the instances get confused or getobject grabs hold of my non-automation related instance. Or maybe it's me that gets confused.
What is the proper method for "walling off" my automation-related instances, that allows me to open a non-automation excel file and cheerfully tinker with it while waiting for my DB to complete the reports?
Thanks
Taylor
Start Free Trial