Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have an excel spreadsheet that uses a macro to open
another excel spreadsheet via Workbooks.Open(filename) On my local drive this works fine and it opens the second file, runs the query, and closes it without complaint. When I run it via a network drive it works fine as well. However, when I try to run it via a browser (i.e. put the file on a web server and then open the url as http://www.whatever.com/myfile.xls") and then run the macro I get a runtime error 1004 stating "Method 'Open' of object 'Workbooks' failed". Any idea what is causing this? -- Ajit |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
When I open Excel, workbooks open automatically. How can I stop t | Excel Discussion (Misc queries) | |||
Excel 2003 Workbooks.Open with CorruptLoad=xlRepairFile fails on Excel 5.0/95 file due to Chart, with Error 1004 Method 'Open' of object 'Workbooks' failed | Excel Programming | |||
Workbooks.Open doesn't open file in ThisWorkbook | Excel Programming | |||
Workbooks.Open closes other workbooks | Excel Programming | |||
Workbooks.Open / .Open Text - How do you stop the .xls addition? | Excel Programming |