PC Review


Reply
Thread Tools Rate Thread

Can't see macros in .xla file

 
 
dch3
Guest
Posts: n/a
 
      4th Dec 2007
I've saved several VBA subs in a workbook as an Excel add-in (.xla). The
add-in is showing as installed and its visible in the VBA project explorer.
However, when I go to run the macro TOOLS > MACRO > MACROS or try to assign
the macro to a custom menu item on a tool bar, the subs are not visible.
Ideas?
 
Reply With Quote
 
 
 
 
DomThePom
Guest
Posts: n/a
 
      4th Dec 2007
One of:

1. Subs declared as private
2. Subs require one or more arguments
3. Module declared as private ('Option private module' in declarations
section)

"dch3" wrote:

> I've saved several VBA subs in a workbook as an Excel add-in (.xla). The
> add-in is showing as installed and its visible in the VBA project explorer.
> However, when I go to run the macro TOOLS > MACRO > MACROS or try to assign
> the macro to a custom menu item on a tool bar, the subs are not visible.
> Ideas?

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      4th Dec 2007
That is normal

Create a menu for the add-in

Debra Dalgleish's (Toolbar example from Dave Peterson)
http://www.contextures.com/xlToolbar02.html

Creating Custom Menus (John Walkenbach)
http://www.j-walk.com/ss/excel/tips/tip53.htm

Ole P. Erlandsen's Web Site (Example workbooks)
http://www.erlandsendata.no/english/...oadcommandbars



--

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


"dch3" <(E-Mail Removed)> wrote in message news:723ACDA0-DE0C-4F17-9FDF-(E-Mail Removed)...
> I've saved several VBA subs in a workbook as an Excel add-in (.xla). The
> add-in is showing as installed and its visible in the VBA project explorer.
> However, when I go to run the macro TOOLS > MACRO > MACROS or try to assign
> the macro to a custom menu item on a tool bar, the subs are not visible.
> Ideas?

 
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
"openinf file..."ENABLE MACROS...DISABLE MACROS" =?Utf-8?B?Ri4gTGF3cmVuY2UgS3VsY2hhcg==?= Microsoft Excel Misc 3 12th Sep 2006 10:33 AM
Remove macros in xls file, but keep macros in xlt file nulad Microsoft Excel Programming 1 7th Apr 2006 09:07 AM
shortcut to open file in personal.xls blocking file's macros Microsoft Excel Programming 1 14th Jun 2005 01:08 AM
save excel file from a table delimited file (.txt) using macros sedamfo Microsoft Excel New Users 1 15th Feb 2005 04:19 AM
creating an exe file with visual basic (installation file for Macros and Userforms) mibispam@gmx.de Microsoft Excel Programming 3 5th Aug 2004 10:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:36 AM.