Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lost Visual basic modules

Hello,

In Excell when I created a new visual basic code, or recorded a
new maco it stored it under a Module such as Module 1, Module 2 etc.
When I saved my workbook the modules saved with it. So the next time I
opened that workbook I could go directly to the VB editor and find my
VB codes under the appropriate "Module #".
Recently, I tied to go back to some older Excel workbooks to look
at my old VB scripts. However, when I enter the Visual basic editor
there are No modules listed at all. If I record a new macro it will
once again create a "Module 1" and create the VB script.
Any idea where my older scripts are and why I can not see them
anymore?

Thank you,
Slade

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Lost Visual basic modules

Hi Slade,

In my experience, code modules do not spontaneously disappear.

If, when writing your code, more than one workbook was open, it is possible
that the code was created in a workbook other than the intended repository.

Alternatively, perhaps, after writing or recording code, the workbook was
inadvertently closed without being saved.


---
Regards,
Norman


"Slade" wrote in message
oups.com...
Hello,

In Excell when I created a new visual basic code, or recorded a
new maco it stored it under a Module such as Module 1, Module 2 etc.
When I saved my workbook the modules saved with it. So the next time I
opened that workbook I could go directly to the VB editor and find my
VB codes under the appropriate "Module #".
Recently, I tied to go back to some older Excel workbooks to look
at my old VB scripts. However, when I enter the Visual basic editor
there are No modules listed at all. If I record a new macro it will
once again create a "Module 1" and create the VB script.
Any idea where my older scripts are and why I can not see them
anymore?

Thank you,
Slade



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
Visual Basic Protection and Delete Modules Jeremy Excel Discussion (Misc queries) 3 April 27th 10 02:32 PM
Can I run Visual Basic procedure using Excel Visual Basic editor? john.jacobs71[_2_] Excel Programming 3 December 26th 05 02:22 PM
changing the visual basic in office 2003 to visual studio net bigdaddy3 Excel Discussion (Misc queries) 1 September 13th 05 10:57 AM
Basic question - modules and class modules - what's the difference? Mark Stephens[_3_] Excel Programming 9 May 8th 05 11:48 AM
Lost Visual Basic Project and Invalid File Format errors Annette Excel Programming 1 December 3rd 04 05:49 PM


All times are GMT +1. The time now is 09:27 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"