Re: Use event to catch the running of a macro from an add-in
- From: legacyvbc@xxxxxxxxx
- Date: Tue, 6 May 2008 14:07:59 -0700 (PDT)
No luck - any other ideas?
Thanks
On May 6, 10:21 am, "Jim Cone" <james.cone...@xxxxxxxxxxxxxx> wrote:
First thing I would try is to see if you can determine the name of the
sub called by the Download menu item... View (menu) | Tools | Customize
and right-click the menu item and see what "assign macro" tells you.
If that works then substitute your own sub for the one assigned to the menu item.
'--
Sub MySubstitue()
On Error GoTo BadChoice
Application.EnableEvents = False
Call MacroAssignedToMenuItem
BadChoice:
Application.EnableEvents = True
End Sub
--
Jim Cone
Portland, Oregon USAhttp://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)
<legacy...@xxxxxxxxx>
wrote in message
Is there a way to determine when a macro from a 3rd-party add-in has
started running and when it has finished?
For example, lets say I have a 3rd party add-in that downloads data
from the internet and has a custom menu called Custom with a submenu
called Download. If I select download I would like to "catch" that it
was called and set application.enableevents to false and then whenever
it is done I would like to turn it back on.
Is this possible?
Thanks
.
- Follow-Ups:
- Re: Use event to catch the running of a macro from an add-in
- From: Jim Cone
- Re: Use event to catch the running of a macro from an add-in
- References:
- Use event to catch the running of a macro from an add-in
- From: legacyvbc
- Re: Use event to catch the running of a macro from an add-in
- From: Jim Cone
- Use event to catch the running of a macro from an add-in
- Prev by Date: caps in cells
- Next by Date: I need help with macro
- Previous by thread: Re: Use event to catch the running of a macro from an add-in
- Next by thread: Re: Use event to catch the running of a macro from an add-in
- Index(es):
Relevant Pages
|