Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Expose macros with add-in

Hello. I just joined this forum, so hopefully I won't ask any questions that
are too ignorant. I did a search on the subject and couldn't find what I
needed. Here is my problem:

I created a macro that I would like to be accessible to many users (Excel
2000). I'm also expecting that more bells and whistles will be added at a
later date, so I want to be able to update the macro from one central
location. Rather than go with the personnel.xls approach (which seems to
have many drawbacks), I saved the workbook as an add-in. I then went to the
add-in manager in a new workbook and selected the add-in I created. But when
I go to Tools, Macro, Macros..., the macro I created is not there under any
of the "Macros in" dropdown. Yet if I go to the Visual Basic Editor, it is
there exactly as created as a .xla file. So how do my users get to the
subroutines in the xla? They are public.

Dave
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Expose macros with add-in

Why not add a tool bar or menu option. The addin can create those and it
provides a simple interface for the users. I can send you an addin that I
have if you need and example...

--
HTH...

Jim Thomlinson


"Dave Stice" wrote:

Hello. I just joined this forum, so hopefully I won't ask any questions that
are too ignorant. I did a search on the subject and couldn't find what I
needed. Here is my problem:

I created a macro that I would like to be accessible to many users (Excel
2000). I'm also expecting that more bells and whistles will be added at a
later date, so I want to be able to update the macro from one central
location. Rather than go with the personnel.xls approach (which seems to
have many drawbacks), I saved the workbook as an add-in. I then went to the
add-in manager in a new workbook and selected the add-in I created. But when
I go to Tools, Macro, Macros..., the macro I created is not there under any
of the "Macros in" dropdown. Yet if I go to the Visual Basic Editor, it is
there exactly as created as a .xla file. So how do my users get to the
subroutines in the xla? They are public.

Dave

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Expose macros with add-in

Jim Thomlinson wrote:
Why not add a tool bar or menu option. The addin can create those and it
provides a simple interface for the users. I can send you an addin that I
have if you need and example...

Hello. I just joined this forum, so hopefully I won't ask any questions that
are too ignorant. I did a search on the subject and couldn't find what I

[quoted text clipped - 12 lines]

Dave


I tried that unsucessfully. I put a Private Sub Workbook_Open() routine in
the add-in, but it never fired (I put in a msgbox to show me if it executed).
Yes, I would love to see how you did it!

Thanks, Dave
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Expose macros with add-in

The Email in your user profile is not valid... @uwe.com or @uwe.org or ???
You can send me an email or just give me some indication what your e-mail is.
Don't post your exact e-mail address in the forum unless you are a fan of
Spam...
--
HTH...

Jim Thomlinson


"Dave Stice" wrote:

Jim Thomlinson wrote:
Why not add a tool bar or menu option. The addin can create those and it
provides a simple interface for the users. I can send you an addin that I
have if you need and example...

Hello. I just joined this forum, so hopefully I won't ask any questions that
are too ignorant. I did a search on the subject and couldn't find what I

[quoted text clipped - 12 lines]

Dave


I tried that unsucessfully. I put a Private Sub Workbook_Open() routine in
the add-in, but it never fired (I put in a msgbox to show me if it executed).
Yes, I would love to see how you did it!

Thanks, Dave

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Expose macros with add-in

Jim , I checked my user profile and the email is correct. Not sure what's
going on there but I don't have anything close to @uwe in my domain name.
Being totally new to this forum, how do I email you? Or could you just paste
in the code?

I don't think it's a problem of VBA code to create a tool bar or menu option
as any code in my add-in is not getting executed at all. Do I have the wrong
name for the Workbook_Open routine? Or is it the fact that the routine is
part of the add-in and needs to be in the parent worksheet? Then I'm back to
modifying personal.xls.

Dave

Jim Thomlinson wrote:
The Email in your user profile is not valid... @uwe.com or @uwe.org or ???
You can send me an email or just give me some indication what your e-mail is.
Don't post your exact e-mail address in the forum unless you are a fan of
Spam...
Why not add a tool bar or menu option. The addin can create those and it
provides a simple interface for the users. I can send you an addin that I

[quoted text clipped - 11 lines]

Thanks, Dave



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Expose macros with add-in

Jim, I wanted to let you know that I got the problem worked out with your
help. I was using Workbook_Open instead of Auto_Open. The sample code I
copied (from the unreliable source of the Microsoft web site) used
Workbook_Open in their example, so I naturally assumed it would work.
Everything works great!

Thanks, Dave S.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200601/1
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
Excel: Expose whole window or at least top resize handles. Reinie Excel Discussion (Misc queries) 1 August 25th 09 04:11 PM
Searching for link: Bob Phillips expose on NAMES davidm Excel Programming 2 January 28th 06 08:10 AM
How can I expose the actual column & row headers in excel? Juanita Excel Discussion (Misc queries) 1 December 1st 05 06:18 PM
How can I expose the TextBox BeforeUpdate event to my user class? bereid Excel Discussion (Misc queries) 0 November 30th 05 05:00 PM
Data (entry) form - expose properties? Poseur Excel Programming 3 September 27th 04 04:38 PM


All times are GMT +1. The time now is 09:35 AM.

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"