Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Code not saving in Class Module

The strangest thing is happening in my Personal.xslb folder. I make changes
to code, save it, close it and then reopen to find that the changes are not
there. This includes added user forms. The File has code in ThisWorbook,
three standard modules and a Class Module with Application Level events.

Any ideas why this would be happening?

Thanks

EM
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Code not saving in Class Module

This is driving me nuts. Why is this happening?

Thanks

EM

"Excel Monkey" wrote:

The strangest thing is happening in my Personal.xslb folder. I make changes
to code, save it, close it and then reopen to find that the changes are not
there. This includes added user forms. The File has code in ThisWorbook,
three standard modules and a Class Module with Application Level events.

Any ideas why this would be happening?

Thanks

EM

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Code not saving in Class Module

For what I can tell this is whats happening:

I am in a class module being used for Application Events. The changes I am
trying to make are in two event procedures:

Private Sub App_SheetActivate(ByVal sht As Object)

and

Private Sub App_SheetDeactivate(ByVal sht As Object)

Whenever I edit the code in these procedures and hit SAVE and the Shutdown,
the revisions disappear when I reopen.

Thanks

EM


"Excel Monkey" wrote:

The strangest thing is happening in my Personal.xslb folder. I make changes
to code, save it, close it and then reopen to find that the changes are not
there. This includes added user forms. The File has code in ThisWorbook,
three standard modules and a Class Module with Application Level events.

Any ideas why this would be happening?

Thanks

EM

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Code not saving in Class Module

Ahhhhhhh. I realized that as my code was within event procedures in a class
module, I need to hit the STOP button in the VB Editor prior to making my
changes otherwise, the changes would not be saved.

Thanks

EM

"Excel Monkey" wrote:

The strangest thing is happening in my Personal.xslb folder. I make changes
to code, save it, close it and then reopen to find that the changes are not
there. This includes added user forms. The File has code in ThisWorbook,
three standard modules and a Class Module with Application Level events.

Any ideas why this would be happening?

Thanks

EM

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
CLASS MODULE & SIMPLE MODULE FARAZ QURESHI Excel Discussion (Misc queries) 1 September 7th 07 09:32 AM
Class Module vs Normal Module Les Excel Programming 2 July 20th 07 09:54 AM
Class Module? steve Excel Programming 5 August 24th 06 02:35 PM
Class Module Todd Huttenstine Excel Programming 2 May 21st 04 11:17 PM
Variable from a sheet module in a class module in XL XP hglamy[_2_] Excel Programming 2 October 14th 03 05:48 PM


All times are GMT +1. The time now is 11:01 AM.

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

About Us

"It's about Microsoft Excel"