Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Workbooks.Open Fails

I trying to implement Ron's code for merging multiple workbooks (
http://www.rondebruin.nl/copy3.htm) , but the procedure fails to open the
workbooks.

Im getting Method 'Open' of object 'Workbooks' failed as an error. The
spreadsheets are autogenerated by our technology group and each sheet is
named something like .xls)CE_Vs_PE_Report_For_Multip

If I open the worksheet and remove ANY character from the sheet name, the
procedure will open that workbook. Is there anyway to correct this?

Thanks for you help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Workbooks.Open Fails

Can you send me one of the workbooks private Ed

Do you have the same problem with my Add-in ?
http://www.rondebruin.nl/merge.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Ed_P" <u37751@uwe wrote in message news:78cc2e99b7298@uwe...
I trying to implement Ron's code for merging multiple workbooks (
http://www.rondebruin.nl/copy3.htm) , but the procedure fails to open the
workbooks.

Im getting Method 'Open' of object 'Workbooks' failed as an error. The
spreadsheets are autogenerated by our technology group and each sheet is
named something like .xls)CE_Vs_PE_Report_For_Multip

If I open the worksheet and remove ANY character from the sheet name, the
procedure will open that workbook. Is there anyway to correct this?

Thanks for you help.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Workbooks.Open Fails

Ron thanks for the reply. I was about to send you a workbook, and as I was
removing certain pieces of data from the sheet and saved it, I reran the
procedure and noticed that the workbook was now able to be opened by both
your addin and the the code on your site. Each workbook I opened and saved,
regardless if I changed anything, was able to be merged. Im trying to have
another workbook created that I can send you without have to edit it for you
to see. Have you ever seen something like this?

Thanks

--
Message posted via http://www.officekb.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Workbooks.Open Fails

Hi Ed

Have you ever seen something like this?

No but maybe the file is corrupt ?
If you have the problem again I like to see the file if possible

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Ed_P via OfficeKB.com" <u37751@uwe wrote in message news:78d1a784ee4ed@uwe...
Ron thanks for the reply. I was about to send you a workbook, and as I was
removing certain pieces of data from the sheet and saved it, I reran the
procedure and noticed that the workbook was now able to be opened by both
your addin and the the code on your site. Each workbook I opened and saved,
regardless if I changed anything, was able to be merged. Im trying to have
another workbook created that I can send you without have to edit it for you
to see. Have you ever seen something like this?

Thanks

--
Message posted via http://www.officekb.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workbooks.Open fails Juuljus Excel Programming 0 January 12th 06 09:01 AM
workbooks.open function fails to open an existing excel file when used in ASP, but works in VB. san Excel Programming 1 January 3rd 06 03:22 AM
Workbooks.open method fails JAT Excel Programming 3 January 24th 05 08:19 PM
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 Frank Jones Excel Programming 2 June 15th 04 03:21 AM
Open method of workbooks fails when Excel is hosted in IE [email protected] Excel Programming 5 January 30th 04 02:19 AM


All times are GMT +1. The time now is 03:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"