Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Running macro within a macro

What happened when you added the dubug.print/msgboxes?

norrislaketn wrote:

I have tried several methods.
1) Assigning it to a ctrl key such as ctrl a - skips the called macro
2) Assigning it to a menu button - skips the called macro
3) Running it from the tools, macro, macros menu tree and manually running
the macro. It works in this senero only.

The issue is the end users do not have the patience to use methiods 1 or 2.

"Dave Peterson" wrote:

I thought the problem was when the user hit the shortcut key:

When using a call function in a macro to excute a different macro and using
the shortcut key, it skips the called macro.


Did you try putting the breakpoint in? How about the debug.print/msgboxes?

norrislaketn wrote:

All macros are in the same module and workbook. there are no duplicate macro
names. I have the macro being started by a menu button so the user does not
have to use any shift or control keys

"Dave Peterson" wrote:

Does the second macro open another workbook?

Does your shortcut key combination include the shift key?

If yes, to both, then try changing the shortcut key combination to something
else--don't include the shift key.

norrislaketn wrote:

When using a call function in a macro to excute a different macro and using
the shortcut key, it skips the called macro. But when the macro is selected
in the tool macro menu selection and manually run it works. Is there a
method to slow down the orginal macro until the called macro is completed?

Thanks in advance...

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
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
Disable running of SelectionChange macro when in another macro? Tonso Excel Discussion (Misc queries) 6 March 21st 10 06:50 PM
disable user running macro from Tools Macro Steve Simons Excel Discussion (Misc queries) 4 September 28th 06 06:28 AM
Stop running a macro in the middle of a macro gmunro Excel Programming 3 June 9th 05 06:00 PM
how to get onkey macro to fire while another macro is running Brian Murphy Excel Programming 8 August 25th 04 05:38 AM
Launch Macro in Access via Macro running in Excel??? dgrant Excel Programming 1 September 24th 03 01:38 PM


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