Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA module not responding!??

Excel does not seem to be using the version of a macro that is attached to
the worksheet module. Any changes I make to the module (breakpoints, code
change, etc...) at not reflected when I call the macro (either from the VBA
interface or from Excel worksheet push-button or from Macro menu). I tried
to open and close Excel, and still... I can't make a change to my macro.

Is it possible that there is a cached version of my old VBA module hidden
somewhere??

What is going on?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default VBA module not responding!??

Did you make resave your workbook under a new file name? And/Or do you have
another workbook open (maybe the one you copied from) that has macros with
the same name? Check in particular your personal workbook, personal.xls.
Look in the Project Explorer under all the projects listed for a sub with the
same name. Also look at the list that comes up in the Macros menu - if it
has a workbook name before it, like Book2!MyMacro, that shows which book
contains the code that is running.
--
- K Dales


"alainr" wrote:

Excel does not seem to be using the version of a macro that is attached to
the worksheet module. Any changes I make to the module (breakpoints, code
change, etc...) at not reflected when I call the macro (either from the VBA
interface or from Excel worksheet push-button or from Macro menu). I tried
to open and close Excel, and still... I can't make a change to my macro.

Is it possible that there is a cached version of my old VBA module hidden
somewhere??

What is going on?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default VBA module not responding!??

try edit replace option explicit with 'option explicit, compile, then put
back the option explicit
VBA does cache a copy of your vba code in byte code, changing option
explicit forces it to re compile properly
This is not a good sign though - be sure to use Rob Boveys code cleaner
asap - from www.appspro.com
cheers
Simon

"alainr" wrote in message
...
Excel does not seem to be using the version of a macro that is attached to
the worksheet module. Any changes I make to the module (breakpoints, code
change, etc...) at not reflected when I call the macro (either from the
VBA
interface or from Excel worksheet push-button or from Macro menu). I
tried
to open and close Excel, and still... I can't make a change to my macro.

Is it possible that there is a cached version of my old VBA module hidden
somewhere??

What is going on?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA module not responding!??

Many thanks, you suggestion works.

That is spooky behavior. I will definitely look into that code cleaner.

"Simon Murphy" wrote:

try edit replace option explicit with 'option explicit, compile, then put
back the option explicit
VBA does cache a copy of your vba code in byte code, changing option
explicit forces it to re compile properly
This is not a good sign though - be sure to use Rob Boveys code cleaner
asap - from www.appspro.com
cheers
Simon

"alainr" wrote in message
...
Excel does not seem to be using the version of a macro that is attached to
the worksheet module. Any changes I make to the module (breakpoints, code
change, etc...) at not reflected when I call the macro (either from the
VBA
interface or from Excel worksheet push-button or from Macro menu). I
tried
to open and close Excel, and still... I can't make a change to my macro.

Is it possible that there is a cached version of my old VBA module hidden
somewhere??

What is going on?




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
code in module A to not execute a Worksheet_SelectionChange sub of another module Jack Sons Excel Discussion (Misc queries) 4 December 11th 05 11:52 PM
Run worksheet module code from workbook module? keithb Excel Programming 1 August 14th 05 04:04 AM
Calls from sheet module to ThisWorkbook module quartz[_2_] Excel Programming 2 June 23rd 05 03:37 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:30 PM.

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"