Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default vba editor comes up everytime this specific macro is run

sorry if this is a repost.. when i clicked on the one i put up earlier
i think because it included code it got deleted.

here is what is happening.. i have a module that has a set of code.

for some reason whenever i run the main macro the vba editor also
comes up.. there is no errors or any debug breakpoints.. the code runs
fine.. just the vba editor comes up everytime i run it..

any one know why?
  #2   Report Post  
Posted to microsoft.public.excel.programming
JNW JNW is offline
external usenet poster
 
Posts: 480
Default vba editor comes up everytime this specific macro is run

If you close all the way out of Excel the reopen the file and run the macro
does it still do it?
If so, if you restart the computer and the run does it do it?
--
JNW


"mithu" wrote:

sorry if this is a repost.. when i clicked on the one i put up earlier
i think because it included code it got deleted.

here is what is happening.. i have a module that has a set of code.

for some reason whenever i run the main macro the vba editor also
comes up.. there is no errors or any debug breakpoints.. the code runs
fine.. just the vba editor comes up everytime i run it..

any one know why?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default vba editor comes up everytime this specific macro is run

Could you post the code? Is the code sending any keystrokes? Try putting
an"end" statement in various places in the code until you isolate the line
of code that is triggering the vbe from appearing.

One thing to try in the vb editor is to assign a password to the project and
hide it from viewing. Select in the vbe Tools, Porject Properties,
Protection. Sometimes locking the code prevents such strange behavior.

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"mithu" wrote in message
...
sorry if this is a repost.. when i clicked on the one i put up earlier
i think because it included code it got deleted.

here is what is happening.. i have a module that has a set of code.

for some reason whenever i run the main macro the vba editor also
comes up.. there is no errors or any debug breakpoints.. the code runs
fine.. just the vba editor comes up everytime i run it..

any one know why?



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
How do I print a specific worksheet everytime? Trevor Excel Discussion (Misc queries) 1 May 10th 10 08:24 PM
printing a specific worksheet everytime Trevor Excel Discussion (Misc queries) 1 May 10th 10 02:40 PM
I need specific numbers to be a selected color everytime Allie Excel Discussion (Misc queries) 1 December 30th 05 07:28 PM
Textbox Hyperlink opens VB Editor at Specific Module Neily[_3_] Excel Programming 0 October 26th 05 12:04 PM
start a macro everytime excel opens Jeff Excel Programming 3 July 16th 04 05:55 PM


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