Neither of those work. It's weird because if I put
Set objWorkbook = objExcel1.Workbooks.Open("C:\Documents and Settings\lrobinson\My Documents\Scripts\budget_input.xls") in the script it runs fine, but when I try the two solutions above I get the error
'C:\Documents and Settings\lrobinson\My...
I have a script that reads information from an excel file and otputs the information to a text file. Other people will be using this script, so I just tell them to put the script and the input file in the same folder and it should run. How can I get the Script to find the excel file in the same...
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.