Working with a VBScript that uses the GetObject method to open a specific workbook:
I am not able to set objExcel.Visible = True I receive an unable to select range error when I try to select the range I want in the sheet. The other folks that use this same sheet in a shared network folder, shared workbook get confused with the VBScript error when they forget to open the file first and run the script. Building an event that detects if the file is open and CreateObject if it isn't would be a better solution, but I have not been able to get my script to do that successfully yet.
Is there something that I can add to the GetObject method to force it to become visible as the file opens if it wasn't already?
Bookmarks