Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 187
Default can't find macros in a macro-enabled workbook

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.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 791
Default can't find macros in a macro-enabled workbook

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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 301
Default can't find macros in a macro-enabled workbook

see if there's a defined name called auto_open or auto_close

"Dave F" wrote in message
oups.com...
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.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 187
Default can't find macros in a macro-enabled workbook

I don't see defined names auto_open or auto_close....

On Aug 20, 10:46 am, "Bob Umlas" wrote:
see if there's a defined name called auto_open or auto_close

"Dave F" wrote in message

oups.com...



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 -



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 373
Default can't find macros in a macro-enabled workbook

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" wrote in message
ps.com...
I don't see defined names auto_open or auto_close....

On Aug 20, 10:46 am, "Bob Umlas" wrote:
see if there's a defined name called auto_open or auto_close

"Dave F" wrote in message

oups.com...



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 -







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 187
Default can't find macros in a macro-enabled workbook

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" 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" wrote in message

ps.com...



I don't see defined names auto_open or auto_close....


On Aug 20, 10:46 am, "Bob Umlas" wrote:
see if there's a defined name called auto_open or auto_close


"Dave F" wrote in message


groups.com...


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 -



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 373
Default can't find macros in a macro-enabled workbook

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" wrote in message
oups.com...
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" 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" wrote in message

ps.com...



I don't see defined names auto_open or auto_close....


On Aug 20, 10:46 am, "Bob Umlas" wrote:
see if there's a defined name called auto_open or auto_close


"Dave F" wrote in message


groups.com...


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
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
Closing a Workbook if Macros aren't enabled. [email protected] Excel Programming 3 August 9th 07 08:00 PM
how to track changes in a workbook with macros enabled Jerjuice Excel Discussion (Misc queries) 0 October 11th 06 06:16 PM
how to track changes in a workbook with macros enabled Jerjuice Excel Discussion (Misc queries) 0 October 11th 06 06:15 PM
Close Workbook if Macros not enabled Graham Fowler Excel Programming 2 September 23rd 05 11:06 PM
Open workbook-macros enabled, opening another with macros George J Excel Programming 5 September 17th 04 02:07 PM


All times are GMT +1. The time now is 10:05 AM.

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"