PC Review


Reply
Thread Tools Rate Thread

Access VBA outside of Excel

 
 
rleavitt@smithgroupre.com
Guest
Posts: n/a
 
      26th Sep 2007
I have a very large sheet (115M) that I cannot open for some reason
(Excel hangs when I try to open). I can live with out the contents of
the sheet, but would love to be able to get at the VBA that is
contained within modules within the spreadsheet. In fact, I am
desparate, Does anyone have any ideas for how to access this code
without opening the sheet?

I don't really know why the sheet won't open... but it has something
to do with changes Excel made to the sheet during autorecovery
operation.

I am using Excel 2003 in XP-Pro

Thanks,
Rick

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      26th Sep 2007
Did you try Microsoft Office Recovery?

Start Menu - Programs - Microsoft Office - Tools - Microsoft Office
Application Recovery.

"(E-Mail Removed)" wrote:

> I have a very large sheet (115M) that I cannot open for some reason
> (Excel hangs when I try to open). I can live with out the contents of
> the sheet, but would love to be able to get at the VBA that is
> contained within modules within the spreadsheet. In fact, I am
> desparate, Does anyone have any ideas for how to access this code
> without opening the sheet?
>
> I don't really know why the sheet won't open... but it has something
> to do with changes Excel made to the sheet during autorecovery
> operation.
>
> I am using Excel 2003 in XP-Pro
>
> Thanks,
> Rick
>
>

 
Reply With Quote
 
rleavitt@smithgroupre.com
Guest
Posts: n/a
 
      26th Sep 2007
Thanks for the reply. If I run this tool after trying to open the
spreadsheet, it cancels out of Excel and gives me the option of
"recovering" the original sheet. Since this is the one that is
corrupted it does not do me any any good. Perhaps if I had run this
when the sheet crashed originally I would be in better shape, but alas
I did not. I have had this sort of thing occur before with large
complicated sheets, and so I think there may be some bug in the auto-
recovery function.

Whatever, I don't really need to solve that, I was just hoping I could
get my VB code out of the corrupted application.
....Rick



On Sep 26, 2:54 pm, Joel <J...@discussions.microsoft.com> wrote:
> Did you try Microsoft Office Recovery?
>
> Start Menu - Programs - Microsoft Office - Tools - Microsoft Office
> Application Recovery.
>
>
>
> "rleav...@smithgroupre.com" wrote:
> > I have a very large sheet (115M) that I cannot open for some reason
> > (Excel hangs when I try to open). I can live with out the contents of
> > the sheet, but would love to be able to get at the VBA that is
> > contained within modules within the spreadsheet. In fact, I am
> > desparate, Does anyone have any ideas for how to access this code
> > without opening the sheet?

>
> > I don't really know why the sheet won't open... but it has something
> > to do with changes Excel made to the sheet during autorecovery
> > operation.

>
> > I am using Excel 2003 in XP-Pro

>
> > Thanks,
> > Rick- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
dan dungan
Guest
Posts: n/a
 
      26th Sep 2007
Hi Rick,

This sounds like a good reason to keep a backup. I make backup copies
daily of the application I'm developing.

Dan

On Sep 26, 1:25 pm, rleav...@smithgroupre.com wrote:
> Thanks for the reply. If I run this tool after trying to open the
> spreadsheet, it cancels out of Excel and gives me the option of
> "recovering" the original sheet. Since this is the one that is
> corrupted it does not do me any any good. Perhaps if I had run this
> when the sheet crashed originally I would be in better shape, but alas
> I did not. I have had this sort of thing occur before with large
> complicated sheets, and so I think there may be some bug in the auto-
> recovery function.
>
> Whatever, I don't really need to solve that, I was just hoping I could
> get my VB code out of the corrupted application.
> ...Rick
>
> On Sep 26, 2:54 pm, Joel <J...@discussions.microsoft.com> wrote:
>
> > Did you try Microsoft Office Recovery?

>
> > Start Menu - Programs - Microsoft Office - Tools - Microsoft Office
> > Application Recovery.

>
> > "rleav...@smithgroupre.com" wrote:
> > > I have a very large sheet (115M) that I cannot open for some reason
> > > (Excel hangs when I try to open). I can live with out the contents of
> > > the sheet, but would love to be able to get at the VBA that is
> > > contained within modules within the spreadsheet. In fact, I am
> > > desparate, Does anyone have any ideas for how to access this code
> > > without opening the sheet?

>
> > > I don't really know why the sheet won't open... but it has something
> > > to do with changes Excel made to the sheet during autorecovery
> > > operation.

>
> > > I am using Excel 2003 in XP-Pro

>
> > > Thanks,
> > > Rick- Hide quoted text -

>
> > - Show quoted text -



 
Reply With Quote
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      27th Sep 2007
A few remarks.

1) Make sure when you open the file not to enable the macros. You still
will be able to copy the macro out of the file.
2) Even if the file is corrupted, is the maco code corrupted.
3) When MS Office make a backup of the file it creates temp files in the
directory starting with $. You may want to make a copy of the corrupted
file and put it in another directory and then try opening it up. A file can
be corrupt in at least 2 different ways.

a) The file structure is corrupted. Performing a disk check may fix this
problem. If you try to copy the file like I sugested above an you get an
error then this is the cause.
b) The data in the file is corrupted an excel doesn't know how to recover
the file. Usually MS Repair will fix these problems.

"(E-Mail Removed)" wrote:

> Thanks for the reply. If I run this tool after trying to open the
> spreadsheet, it cancels out of Excel and gives me the option of
> "recovering" the original sheet. Since this is the one that is
> corrupted it does not do me any any good. Perhaps if I had run this
> when the sheet crashed originally I would be in better shape, but alas
> I did not. I have had this sort of thing occur before with large
> complicated sheets, and so I think there may be some bug in the auto-
> recovery function.
>
> Whatever, I don't really need to solve that, I was just hoping I could
> get my VB code out of the corrupted application.
> ....Rick
>
>
>
> On Sep 26, 2:54 pm, Joel <J...@discussions.microsoft.com> wrote:
> > Did you try Microsoft Office Recovery?
> >
> > Start Menu - Programs - Microsoft Office - Tools - Microsoft Office
> > Application Recovery.
> >
> >
> >
> > "rleav...@smithgroupre.com" wrote:
> > > I have a very large sheet (115M) that I cannot open for some reason
> > > (Excel hangs when I try to open). I can live with out the contents of
> > > the sheet, but would love to be able to get at the VBA that is
> > > contained within modules within the spreadsheet. In fact, I am
> > > desparate, Does anyone have any ideas for how to access this code
> > > without opening the sheet?

> >
> > > I don't really know why the sheet won't open... but it has something
> > > to do with changes Excel made to the sheet during autorecovery
> > > operation.

> >
> > > I am using Excel 2003 in XP-Pro

> >
> > > Thanks,
> > > Rick- Hide quoted text -

> >
> > - Show quoted text -

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Excel To Access: Transfer multiple rows from excel to access sam Microsoft Excel Programming 0 20th Jan 2010 09:51 PM
Access Speakers wanted - 2007 Access / Excel User Conferences Damon Longworth Microsoft Access 1 21st Aug 2006 05:01 AM
export access to excel. change access & update excel at same time =?Utf-8?B?ZmFzdGNhcg==?= Microsoft Excel Misc 0 24th Jun 2005 09:27 PM
Closing Excel files from Access and/or quitting Excel from Access Beverly Microsoft Access VBA Modules 1 11th Oct 2003 06:49 PM
Importing excel into access - want access to update data supplied from excel Deborah Microsoft Access External Data 1 30th Jul 2003 01:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 PM.