Hi
I have the below vbs script
The problem I’m having is that as part of the macro it runs the open file dialog window to select a file and so something with that file, the problem is that if I run the VBS script when i already have windows explorer opened, it opens that file dialog box behind all the open windows it is there anything i can put in the VBS script that will bring it to the front of all open windows ?
Thanks
I have the below vbs script
VBA Code:
Set objExcel = CreateObject("Excel.Application")
objExcel.Application.Run "'C:\Users\jack\AppData\Roaming\Microsoft\AddIns\aaa.xlam'!Module11.dosomething"
objExcel.DisplayAlerts = True
objExcel.Application.Quit
Set objExcel = Nothing
The problem I’m having is that as part of the macro it runs the open file dialog window to select a file and so something with that file, the problem is that if I run the VBS script when i already have windows explorer opened, it opens that file dialog box behind all the open windows it is there anything i can put in the VBS script that will bring it to the front of all open windows ?
Thanks