Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 18th, 2005, 06:22 PM
Registered User
Join Date: Nov 2005
Location: San Pedro, NL, Mexico.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error when open workbook


When I try to open my workbook I get an error message saying “the access is denied, that maybe I save the workbook as read only”, and the recovery systems star to get the data from the cells ,but the thing is that I have a lot of code in the modules.

How can I get the code or repair the workbook?

Thanks in advance

Reply With Quote
  #2 (permalink)  
Old December 19th, 2005, 11:35 AM
Authorized User
Join Date: Oct 2004
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shattered Send a message via Yahoo to shattered

in the file itself is corrup there are lots of ways to restore the data, but no good ways to get the vba data back - most methods (including loading through a text editor) will only allow you to retrieve the data in the worksheets.

There is a repair option in excel but 9/10 it deletes your code anyway. Best option is to revert to your last backup..

Reply With Quote
  #3 (permalink)  
Old December 21st, 2005, 12:43 PM
Registered User
Join Date: Nov 2005
Location: San Pedro, NL, Mexico.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks for the info

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Handling Non-Existing Web Files with Workbook.Open white_wulff Excel VBA 1 May 14th, 2007 03:07 PM
Excel 2003 VBA - Need to open a workbook in a fold bablhous BOOK: Excel 2003 VBA Programmer's Reference 0 December 21st, 2006 02:50 PM
Workbook Open anup.bihani Excel VBA 2 November 30th, 2006 01:05 AM
UserForm1.show fails if another workbook is open gjelson VB How-To 3 June 27th, 2006 02:58 PM

All times are GMT -4. The time now is 03:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.