Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Running an Add-In on the fly

It seems I have found every answer on how to run an add-in except how
to run it as a macro on command. I have the add-in installed and can
see the code in the VBE but there are no macros listed in the macro
list. I do not want it to autorun everytime I open excel, I want to
be able to choose when I can run it. Just avoiding the hassle of
installing macro code to a new workbook every time I want to run it.
What's the down low because it is pretty annoying? Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Running an Add-In on the fly

Create a menu for your add-in
You not see macros in the Alt F8 list from a Add-in

See Dave's example
http://www.contextures.com/xlToolbar02.html


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Kigol" wrote in message oups.com...
It seems I have found every answer on how to run an add-in except how
to run it as a macro on command. I have the add-in installed and can
see the code in the VBE but there are no macros listed in the macro
list. I do not want it to autorun everytime I open excel, I want to
be able to choose when I can run it. Just avoiding the hassle of
installing macro code to a new workbook every time I want to run it.
What's the down low because it is pretty annoying? Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Running an Add-In on the fly

I'm working on a procedure to create my menubar add-in using a hybrid
of Dave's example and what I found on j-walk.com. Hopefully I get the
results I desire. Is it possible to have a my menu refer to macros
outside of the workbook and add-in? Does this involve using dll's or
can I just write a static path? Thank you very much for your speedy
response Ron.


On Jun 13, 2:57 pm, "Ron de Bruin" wrote:
Create a menu for your add-in
You not see macros in the Alt F8 list from a Add-in

See Dave's examplehttp://www.contextures.com/xlToolbar02.html

--

Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm



"Kigol" wrote in ooglegroups.com...
It seems I have found every answer on how to run an add-in except how
to run it as a macro on command. I have the add-in installed and can
see the code in the VBE but there are no macros listed in the macro
list. I do not want it to autorun everytime I open excel, I want to
be able to choose when I can run it. Just avoiding the hassle of
installing macro code to a new workbook every time I want to run it.
What's the down low because it is pretty annoying? Thanks.- Hide quoted text -


- Show quoted


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Running an Add-In on the fly

Kigol -

When you assign the macro in the code, indicate the file name:

.OnAction = "'" & someworkbook.name & "'!" & macroname

I'm not sure what to do with a closed workbook, you need the path as well,
but I'm not sure of the format. Something like this:

.OnAction = "'C:\My Folder\My Workbook.xls'!MyMacro"

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Kigol" wrote in message
oups.com...
I'm working on a procedure to create my menubar add-in using a hybrid
of Dave's example and what I found on j-walk.com. Hopefully I get the
results I desire. Is it possible to have a my menu refer to macros
outside of the workbook and add-in? Does this involve using dll's or
can I just write a static path? Thank you very much for your speedy
response Ron.


On Jun 13, 2:57 pm, "Ron de Bruin" wrote:
Create a menu for your add-in
You not see macros in the Alt F8 list from a Add-in

See Dave's examplehttp://www.contextures.com/xlToolbar02.html

--

Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm



"Kigol" wrote in
ooglegroups.com...
It seems I have found every answer on how to run an add-in except how
to run it as a macro on command. I have the add-in installed and can
see the code in the VBE but there are no macros listed in the macro
list. I do not want it to autorun everytime I open excel, I want to
be able to choose when I can run it. Just avoiding the hassle of
installing macro code to a new workbook every time I want to run it.
What's the down low because it is pretty annoying? Thanks.- Hide quoted
text -


- Show quoted




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
Running Sum Jessica Excel Worksheet Functions 1 March 11th 10 07:10 PM
RUNNING Avg - how? Boswell Excel Discussion (Misc queries) 2 November 11th 08 04:43 AM
Running Ontime's procedure while another function is running? Enter The Excel Programming 1 May 11th 07 05:58 AM
Running a VBA by ASP poon Excel Programming 0 February 9th 04 07:36 AM
running a sub Ghell[_4_] Excel Programming 1 January 29th 04 06:27 PM


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