Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I had a procedure that called to open a workbook:
sAddress = \\Servername\Part\Folder1\Folder2\Folder3\File.xls Workbooks.Open sAddress, 0, False This worked perfectly well in Excel 2000, but after upgrading to 2003, it kicks back an error stating Method 'Open' of object 'Workbooks' failed. I checked and the file does exist where the address is, and can be opened manually. I did some testing and I was able to figure out that after a certain number of folders deep, the open function no longer worked. Is there a maximum length allowed for the file path now? -- ********************* J Streger MS Office Master 2000 ed. MS Project White Belt 2003 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Never mind. Figured out my own problem. Excel 2003 is a little more strict on
sheet names, and the files I was opening had invalid sheet names which are causing the issues. -- ********************* J Streger MS Office Master 2000 ed. MS Project White Belt 2003 "J Streger" wrote: I had a procedure that called to open a workbook: sAddress = \\Servername\Part\Folder1\Folder2\Folder3\File.xls Workbooks.Open sAddress, 0, False This worked perfectly well in Excel 2000, but after upgrading to 2003, it kicks back an error stating Method 'Open' of object 'Workbooks' failed. I checked and the file does exist where the address is, and can be opened manually. I did some testing and I was able to figure out that after a certain number of folders deep, the open function no longer worked. Is there a maximum length allowed for the file path now? -- ********************* J Streger MS Office Master 2000 ed. MS Project White Belt 2003 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
open 2000 file with 2003 | Setting up and Configuration of Excel | |||
open 2000 files with 2003 | Excel Discussion (Misc queries) | |||
2000 will Hang - 2003 will Open | Excel Programming | |||
How to emailing file from Excel 2000 to 2003, cannot open?? | 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 |