Windows 7 Forums


Reply
Thread Tools

Windows 7, Excel 2007

 
 
kolo kolo is offline
New Member
Join Date: Sep 2010
Location: Tullahoma, Tennessee
Posts: 6
Thanked: 0
 
      09-13-2010
I have "MS Office 2007" in Windows 7 and Windows Vista operating systems.
I am trying to open an excel file using Visual Basic.
When I open the Excel file using Vista, no problem but when using Windows 7 i get the error:

"Excel found unreadable content in "xyz.xls".Do you want to recover the contents of the workbook.If you trust the source of this workbook

Please help me in resolving this problem.

Thanks,
Robbie K.
 
Reply With Quote
 
 
 
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,656
Thanked: 887
 
      09-13-2010
http://support.microsoft.com/kb/929766

Seems to be related to the use of pivot tables and a time parameter
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,656
Thanked: 887
 
      09-13-2010
Hotbuller on another site proposed this possible Solution: Change Regional Setting to English (US) and create a new (empty) file. Save it and copy all Sheets, UserForms and Modules from original file to new (regional setting English) file - and wham - problem is gone. So no need to repair file, bacause nothing is wrong with it, just some internal regional settings in file prevent it from opening correctly. The more technical reason for this is the way the file inherits certain settings and unicode stuff.
...his specific issue was related to a spreadsheet from another country but if you can copy and paste and recreate the worksheet it might be worth a try as it might correct your settings mentioned in the MS article.
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,656
Thanked: 887
 
      09-13-2010
Another site mentions the file may be set to read-only and you need to right-click, choose properties, uncheck read-only and then try to open it.
 
Reply With Quote
 
kolo kolo is offline
New Member
Join Date: Sep 2010
Location: Tullahoma, Tennessee
Posts: 6
Thanked: 0
 
      09-14-2010
I don't use pivot tables so that isn't the problem and regional settings isn't either.
Any other ideas? Thanks.
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,656
Thanked: 887
 
      09-14-2010
I still think it is worth a try to create a fresh spreadsheet and copy and paste everything into the new spreadsheet.

Also did you make sure the file wasn't read-only?
 
Reply With Quote
 
kolo kolo is offline
New Member
Join Date: Sep 2010
Location: Tullahoma, Tennessee
Posts: 6
Thanked: 0
 
      09-14-2010
Yes, i tried selecting worksheet and copying to another and same problem. And no, it is not read only. Thanks. Don't know what the problem is. Thought maybe it was a formula or something but it has no formulas just numbers.
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,656
Thanked: 887
 
      09-14-2010
If you have W7 Professional or better, try installing Virtual PC - XP mode, install excel there, and see if MS excel opens it in Virtual XP.
 
Reply With Quote
 
Tushman Tushman is offline
Member
Join Date: Sep 2010
Location: Chicago
Posts: 47
Thanked: 11
 
      09-16-2010
Quote:
Originally Posted by kolo View Post
When I open the Excel file using Vista, no problem but when using Windows 7 i get the error:

"Excel found unreadable content in "xyz.xls".Do you want to recover the contents of the workbook.If you trust the source of this workbook.
Open the Excel file while booted up in Vista. Copy & paste the contents into a new workbook. Save & close in the default format *.xlsx.

Boot into Windows 7 and see if it opens without the error message. If so, then do a "Save as" and save it in the 2003 version (*.xls).
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Install Windows 7 davehc Software 0 08-16-2010 02:50 PM
Windows 7 Annoyances Nibiru2012 General Discussion 6 03-17-2010 06:17 PM
Clean Install Windows 7 with Upgrade Media Nibiru2012 Installation, Setup and Updates 0 12-22-2009 07:03 PM
Clean Install Windows 7 with Upgrade Media Nibiru2012 Installation, Setup and Updates 2 12-04-2009 06:30 PM
Important Issues in This Release Candidate of Windows 7 Ian News 0 05-05-2009 03:25 PM


All times are GMT +1. The time now is 02:51 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33