PC Review


Reply
Thread Tools Rate Thread

Cannot display Add-in Macro list without going to VBA/Project

 
 
Oliver Gilbert
Guest
Posts: n/a
 
      23rd Aug 2011
In Excel 2007, I have made an Add-In (.xlam) which contains several
Subroutines.
This Add-in is in my Add-In folder, hence loads fine when Excel
launches.
However, I cannot display the Add-Ins macros, e.g. with View | Macros,
unless I:

a) go to Developer | View Code
b) expand AND DISPLAY the Modules under the Project Explorer window
for this Add-In
c) then, finally, find the Macro list in Tools | Macros or Run | Run
Macro

Is there any way to make the Add-In Macro (Sub) list visible from the
regular Excel View menu?
 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      23rd Aug 2011
The subs will NOT display if...
Option Private Module is specified in the module
The code is not in a regular/standard module
If the subs are private as in... Private Sub NameOfSub
If the subs have arguments as in... Sub NameOfSub(ByRef lngStuff as Long)

--
Jim Cone
Portland, Oregon USA
http://www.mediafire.com/PrimitiveSoftware
(free and commercial excel programs)





"Oliver Gilbert" <(E-Mail Removed)>
wrote in message
news:43bc844c-79a7-4d20-80bf-(E-Mail Removed)...
> In Excel 2007, I have made an Add-In (.xlam) which contains several
> Subroutines.
> This Add-in is in my Add-In folder, hence loads fine when Excel
> launches.
> However, I cannot display the Add-Ins macros, e.g. with View | Macros,
> unless I:
>
> a) go to Developer | View Code
> b) expand AND DISPLAY the Modules under the Project Explorer window
> for this Add-In
> c) then, finally, find the Macro list in Tools | Macros or Run | Run
> Macro
>
> Is there any way to make the Add-In Macro (Sub) list visible from the
> regular Excel View menu?



 
Reply With Quote
 
GS
Guest
Posts: n/a
 
      23rd Aug 2011
Oliver Gilbert explained on 8/23/2011 :
> In Excel 2007, I have made an Add-In (.xlam) which contains several
> Subroutines.
> This Add-in is in my Add-In folder, hence loads fine when Excel
> launches.
> However, I cannot display the Add-Ins macros, e.g. with View | Macros,
> unless I:
>
> a) go to Developer | View Code
> b) expand AND DISPLAY the Modules under the Project Explorer window
> for this Add-In
> c) then, finally, find the Macro list in Tools | Macros or Run | Run
> Macro
>
> Is there any way to make the Add-In Macro (Sub) list visible from the
> regular Excel View menu?


XLA[M] macros do not show in the macros dialog. This has always been
the case. If your file is XLS[M], the macros will show in the macros
dialog.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


 
Reply With Quote
 
GS
Guest
Posts: n/a
 
      23rd Aug 2011
Forgot to mention...

Usually, addins create their own toolbars/menus to run their macros.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      23rd Aug 2011
Garry,
Good point.
Should mention that Functions from add-ins will appear in the function list (fx) unless made
private.
Jim Cone


"GS" <(E-Mail Removed)>
wrote in message
news:j30g76$hm$(E-Mail Removed)...
> XLA[M] macros do not show in the macros dialog. This has always been the case. If your file is
> XLS[M], the macros will show in the macros dialog.
> --
> Garry



 
Reply With Quote
 
GS
Guest
Posts: n/a
 
      23rd Aug 2011
Jim Cone expressed precisely :
> Garry,
> Good point.
> Should mention that Functions from add-ins will appear in the function list
> (fx) unless made private.
> Jim Cone



Jim,
Also, good point!

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display "macro-free workbooks - VB project message" on closing Exc Gary Nguyen Microsoft Excel Misc 3 14th Sep 2008 05:36 PM
BCM Project list display will not allow you to display standard fi Wally Steins Microsoft Outlook BCM 1 10th Jan 2008 11:23 PM
Display a macro at top of macro list? StargateFanFromWork Microsoft Excel Programming 1 4th Jan 2006 12:37 PM
Not to display Macro list =?Utf-8?B?Q2Ft?= Microsoft Excel Programming 2 10th Aug 2005 06:23 PM
Open an Existing Project (Remove a project from the project list) =?Utf-8?B?ZHJvb3Bl?= Microsoft Dot NET 1 19th Jan 2005 07:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:25 AM.