LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Get code from a corrupted workbook

I don't believe VBA saves your code as text. It's "tokenized", which explains the "garbage" that
are the binary codes for various operators, functions, etc. The legible text probably is your
procedure names and quoted text, etc.

On Mon, 08 Sep 2003 04:19:07 GMT, "Bruce Cooley" wrote:

I saw this go by on the PowerPoint newsgroup recently:

"John O wrote:
'Next time someone runs across a corrupted Ppt doc try this tool.
In Word, do File - Open and choose file type "recover text from
any document". This pulls out the text off slides, from speaker
notes, from everywhere. It won't be clean, but if you need this...'
I just tried it on some oddball files and it works really well.
Gotta give credit to Woody for the tip."

I tried this with a short bit of Excel VBA code, and I did see it in there,
sort of, all choppy and mixed with garbage, barely decipherable, but it
might work differently with different files, and you might just get enough
to remember what you did. Let us know.

Bruce Cooley


"Dave" wrote in message
.au...
: I've just had a file corrupt with a decent chunk of code inside. I've
tried
: Excel Recovery but it doesn't recover VBA
:
: Is there any way to extract the code?
:
: Thanks
:
: Dave
:
:


 
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
corrupted shared excel workbook Edward Letendre Excel Discussion (Misc queries) 1 January 20th 10 10:50 PM
Excel 2007 says a workbook is corrupted when it isn't guitarman3 Excel Discussion (Misc queries) 4 April 24th 09 07:40 PM
Excel workbook is corrupted, workbook automatically saves on start Paul Gooda Excel Discussion (Misc queries) 3 September 28th 06 04:51 PM
workbook code Franky Excel Worksheet Functions 2 April 20th 06 08:15 PM
copy and paste using code from workbook to workbook bigdaddy3 Excel Discussion (Misc queries) 2 September 14th 05 11:06 AM


All times are GMT +1. The time now is 01:57 PM.

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

About Us

"It's about Microsoft Excel"