PC Review


Reply
Thread Tools Rate Thread

can't find macros in a macro-enabled workbook

 
 
Dave F
Guest
Posts: n/a
 
      20th Aug 2007
I received a workbook from a colleague that apparently has macros.
However when I go into the VBE I don't see any code in any of the
worksheets, and I don't see any modules. Is there a way to hide
macros? If so how would I unhide them?

Thanks.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWljaGFlbA==?=
Guest
Posts: n/a
 
      20th Aug 2007
The macros could be part of the Microsoft Excel Objects, for example, they
could be part of Sheet1 or part of the "ThisWorkbook" object.
So when you open your Visual Basic Editor they don't appear in a module.
Double click on the Object and on the left side of your editor you should see
the dropdown boxes where the code maybe, switch them one by one to find what
you are looking for.

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Dave F" wrote:

> I received a workbook from a colleague that apparently has macros.
> However when I go into the VBE I don't see any code in any of the
> worksheets, and I don't see any modules. Is there a way to hide
> macros? If so how would I unhide them?
>
> Thanks.
>
>

 
Reply With Quote
 
Bob Umlas
Guest
Posts: n/a
 
      20th Aug 2007
see if there's a defined name called auto_open or auto_close

"Dave F" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I received a workbook from a colleague that apparently has macros.
> However when I go into the VBE I don't see any code in any of the
> worksheets, and I don't see any modules. Is there a way to hide
> macros? If so how would I unhide them?
>
> Thanks.
>



 
Reply With Quote
 
Dave F
Guest
Posts: n/a
 
      20th Aug 2007
I don't see defined names auto_open or auto_close....

On Aug 20, 10:46 am, "Bob Umlas" <Excel_Tricks...@msn.com> wrote:
> see if there's a defined name called auto_open or auto_close
>
> "Dave F" <friedd...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> >I received a workbook from a colleague that apparently has macros.
> > However when I go into the VBE I don't see any code in any of the
> > worksheets, and I don't see any modules. Is there a way to hide
> > macros? If so how would I unhide them?

>
> > Thanks.- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
Zone
Guest
Posts: n/a
 
      20th Aug 2007
Dave, when you are in the VBE, you should see the project explorer as a
tall, narrow window on the left. If not, press Ctr-r to show it. In the
list, find the name of the file showing as
VBAProject (NameOfFile.xls)
There will be a box to the left of it with a + in it. Click on the plus
sign. Now you should see a list of things under there. See Modules? See
Microsoft Excel Objects? Click on the + to the left of these things. Now
you should see lists of things under these things. Click on each thing in
turn to see what's in it. If you're asked for a password at any time while
looking through these things, the code is protected from view and you'll
need the password.
HTH, James

"Dave F" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I don't see defined names auto_open or auto_close....
>
> On Aug 20, 10:46 am, "Bob Umlas" <Excel_Tricks...@msn.com> wrote:
>> see if there's a defined name called auto_open or auto_close
>>
>> "Dave F" <friedd...@gmail.com> wrote in message
>>
>> news:(E-Mail Removed)...
>>
>>
>>
>> >I received a workbook from a colleague that apparently has macros.
>> > However when I go into the VBE I don't see any code in any of the
>> > worksheets, and I don't see any modules. Is there a way to hide
>> > macros? If so how would I unhide them?

>>
>> > Thanks.- Hide quoted text -

>>
>> - Show quoted text -

>
>



 
Reply With Quote
 
Dave F
Guest
Posts: n/a
 
      20th Aug 2007
I know my way around the VBE; there are no modules visible or code
visible in any of the sheets.

On Aug 20, 11:22 am, "Zone" <KingOfWhi...@aol.com> wrote:
> Dave, when you are in the VBE, you should see the project explorer as a
> tall, narrow window on the left. If not, press Ctr-r to show it. In the
> list, find the name of the file showing as
> VBAProject (NameOfFile.xls)
> There will be a box to the left of it with a + in it. Click on the plus
> sign. Now you should see a list of things under there. See Modules? See
> Microsoft Excel Objects? Click on the + to the left of these things. Now
> you should see lists of things under these things. Click on each thing in
> turn to see what's in it. If you're asked for a password at any time while
> looking through these things, the code is protected from view and you'll
> need the password.
> HTH, James
>
> "Dave F" <friedd...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> >I don't see defined names auto_open or auto_close....

>
> > On Aug 20, 10:46 am, "Bob Umlas" <Excel_Tricks...@msn.com> wrote:
> >> see if there's a defined name called auto_open or auto_close

>
> >> "Dave F" <friedd...@gmail.com> wrote in message

>
> >>news:(E-Mail Removed)...

>
> >> >I received a workbook from a colleague that apparently has macros.
> >> > However when I go into the VBE I don't see any code in any of the
> >> > worksheets, and I don't see any modules. Is there a way to hide
> >> > macros? If so how would I unhide them?

>
> >> > Thanks.- Hide quoted text -

>
> >> - Show quoted text -- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
Zone
Guest
Posts: n/a
 
      20th Aug 2007
Hmmm, if any other workbooks opened with the file, they should be listed in
the project explorer, as well. Maybe someone else has an idea. James
"Dave F" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I know my way around the VBE; there are no modules visible or code
> visible in any of the sheets.
>
> On Aug 20, 11:22 am, "Zone" <KingOfWhi...@aol.com> wrote:
>> Dave, when you are in the VBE, you should see the project explorer as a
>> tall, narrow window on the left. If not, press Ctr-r to show it. In the
>> list, find the name of the file showing as
>> VBAProject (NameOfFile.xls)
>> There will be a box to the left of it with a + in it. Click on the plus
>> sign. Now you should see a list of things under there. See Modules?
>> See
>> Microsoft Excel Objects? Click on the + to the left of these things.
>> Now
>> you should see lists of things under these things. Click on each thing
>> in
>> turn to see what's in it. If you're asked for a password at any time
>> while
>> looking through these things, the code is protected from view and you'll
>> need the password.
>> HTH, James
>>
>> "Dave F" <friedd...@gmail.com> wrote in message
>>
>> news:(E-Mail Removed)...
>>
>>
>>
>> >I don't see defined names auto_open or auto_close....

>>
>> > On Aug 20, 10:46 am, "Bob Umlas" <Excel_Tricks...@msn.com> wrote:
>> >> see if there's a defined name called auto_open or auto_close

>>
>> >> "Dave F" <friedd...@gmail.com> wrote in message

>>
>> >>news:(E-Mail Removed)...

>>
>> >> >I received a workbook from a colleague that apparently has macros.
>> >> > However when I go into the VBE I don't see any code in any of the
>> >> > worksheets, and I don't see any modules. Is there a way to hide
>> >> > macros? If so how would I unhide them?

>>
>> >> > Thanks.- Hide quoted text -

>>
>> >> - Show quoted text -- 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
Can Add-in determine if macros enabled in another workbook? Anthony Berglas Microsoft Excel Programming 3 29th Nov 2008 11:07 PM
how to track changes in a workbook with macros enabled =?Utf-8?B?SmVyanVpY2U=?= Microsoft Excel Misc 0 11th Oct 2006 06:16 PM
how to track changes in a workbook with macros enabled =?Utf-8?B?SmVyanVpY2U=?= Microsoft Excel Misc 0 11th Oct 2006 06:15 PM
Close Workbook if Macros not enabled Graham Fowler Microsoft Excel Programming 2 23rd Sep 2005 11:06 PM
Open workbook-macros enabled, opening another with macros George J Microsoft Excel Programming 5 17th Sep 2004 02:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:40 PM.