Source Code Recovery

kpmack3

New Member
Joined
Mar 7, 2002
Messages
1
<FONT COLOR=FF0000> HELP!! </FONT>
I have a corrupted file that generates an application-killing error whenever I try to open the workbook. I have written a program that successfully mined the data out of the cells, but I need to pull the VBA code out (I know, I should have backed it up!) Any ideas?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I just saw this post. I've found a method of recovering code from corrupted WBs. However, it's at the office. Will post tomorrow.

DM
 
Upvote 0
Now why does this sound familiar?
Option 1.Try opening the file with macros disabled.
Option 2.Try creating a new file, and manually creating a link to the corupt file. ie
In cell A1, type "='C:filedir[Book1.xls]Sheet1'!A1" (with appropriate path & name of course)
Now copy this down and accross until you have all the data on this sheet.
!!Oops, just re read your post, you have the data. Option 1 has worked for me with the code.
Option 3. Try opening on a different machine or with a different (later) Excel version. This has worked for me in the past.
 
Upvote 0

Forum statistics

Threads
1,213,557
Messages
6,114,293
Members
448,564
Latest member
ED38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top