Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Distributing an add in

This is really a two fold question.

First, I have a macro that forces a custom header/footer to a page in one
file. Is it possible for me to export this to .xla, and then have it
autoload into other files?

Basically I do not want to have to manually put this code into the vba of
each file. Is my only option a dll?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Distributing an add in

I surely wouldn't want your macro to change my headers/footers for all my
workbooks. But if you gave me an addin that I could run on demand, I might
actually appreciate it.

If that appeals to you, you may want to take a look at how John Walkenbach does
it for his AddPath addin:
http://j-walk.com/ss/excel/files/addpath.htm

Daniel McCollick wrote:

This is really a two fold question.

First, I have a macro that forces a custom header/footer to a page in one
file. Is it possible for me to export this to .xla, and then have it
autoload into other files?

Basically I do not want to have to manually put this code into the vba of
each file. Is my only option a dll?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Distributing an add in

Thanks Dave, got me in the right direction.

To paraphrase, if I save this macro as a .xla file, I should be able to
have the clients enable it through the add in tool, correct?

Is the internal list of available add in's kept in the registry? I wouldn't
want to enable the add in for the client, but it would simplify things if the
add in was already there, and the client could simply click the check box.
--
Dan McCollick


"Dave Peterson" wrote:

I surely wouldn't want your macro to change my headers/footers for all my
workbooks. But if you gave me an addin that I could run on demand, I might
actually appreciate it.

If that appeals to you, you may want to take a look at how John Walkenbach does
it for his AddPath addin:
http://j-walk.com/ss/excel/files/addpath.htm

Daniel McCollick wrote:

This is really a two fold question.

First, I have a macro that forces a custom header/footer to a page in one
file. Is it possible for me to export this to .xla, and then have it
autoload into other files?

Basically I do not want to have to manually put this code into the vba of
each file. Is my only option a dll?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Distributing an add in

Yep. The users can install it via Tools|Addins.

And if you don't know where the addin will be kept, it might be better to let
the users decide where they should keep that file.

(And yes, the windows registry keeps track of the addins that show up in that
dialog and also whether they're checked or not.)



Daniel McCollick wrote:

Thanks Dave, got me in the right direction.

To paraphrase, if I save this macro as a .xla file, I should be able to
have the clients enable it through the add in tool, correct?

Is the internal list of available add in's kept in the registry? I wouldn't
want to enable the add in for the client, but it would simplify things if the
add in was already there, and the client could simply click the check box.
--
Dan McCollick

"Dave Peterson" wrote:

I surely wouldn't want your macro to change my headers/footers for all my
workbooks. But if you gave me an addin that I could run on demand, I might
actually appreciate it.

If that appeals to you, you may want to take a look at how John Walkenbach does
it for his AddPath addin:
http://j-walk.com/ss/excel/files/addpath.htm

Daniel McCollick wrote:

This is really a two fold question.

First, I have a macro that forces a custom header/footer to a page in one
file. Is it possible for me to export this to .xla, and then have it
autoload into other files?

Basically I do not want to have to manually put this code into the vba of
each file. Is my only option a dll?


--

Dave Peterson


--

Dave Peterson
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
distributing numbers Neil Excel Discussion (Misc queries) 1 April 15th 05 06:41 PM
Distributing Workbook halem2[_14_] Excel Programming 3 August 25th 04 06:34 PM
Distributing a VBA app across different systems, help please Joe 90[_2_] Excel Programming 0 November 14th 03 05:20 PM
distributing add-ins lee hite Excel Programming 6 October 14th 03 09:11 PM
distributing a macro Rich Clarken Excel Programming 1 October 10th 03 06:12 PM


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