Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 18th, 2005, 06:22 PM
Registered User
 
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error when open workbook

Hi

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


 
Old December 19th, 2005, 11:35 AM
Authorized User
 
Join Date: Oct 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shattered Send a message via Yahoo to shattered
Default

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..

 
Old December 21st, 2005, 12:43 PM
Registered User
 
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the info






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





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