Thread
:
Simple line error msg
View Single Post
#
2
Posted to microsoft.public.excel.programming
Nigel[_2_]
external usenet poster
Posts: 735
Simple line error msg
If the path and file exists then the code line is correct. Are you
assigning this to a object? If so use
Set wbkNew = Workbooks.Open ("G:\ReportFiles\ReportTemplate.xls")
--
Regards,
Nigel
"James8309" wrote in message
...
Hi everyone,
one of my line in my VBA code is ;
Workbooks.Open Filename:="G:\ReportFiles\ReportTemplate.xls"
and I do not understand why this line creates "Invalid Procedure call
or argument"
Please help
thank you,
Reply With Quote
Nigel[_2_]
View Public Profile
Find all posts by Nigel[_2_]