#1   Report Post  
Posted to microsoft.public.excel.misc
cf9034
 
Posts: n/a
Default Copying Excel Macros

I have created a macro in Excel that I need to share with other users in my
office. I would like to copy this macro to their pc. How can I add this
macro to their macro listing without removing what they currently have?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Copying Excel Macros

Create a new workbook, move all your macros into that workbook and save it as an
addin.

Provide some sort of interface to the user so that they can run the macro.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

After you distribute the addin, you can tell the users to use:
tools|addins|
to browse for it and turn it on.

In fact, if all the users have access to a common network drive, you could put
the addin in a folder on that drive and tell them to browse for that addin
(tools|addins). Then you don't have to distribute the file to any person.

And don't name it personal.xla. Only one workbook with that name can be open.
And if the user has their own personal.xla, they'll have to make a decision on
which one to use.




cf9034 wrote:

I have created a macro in Excel that I need to share with other users in my
office. I would like to copy this macro to their pc. How can I add this
macro to their macro listing without removing what they currently have?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
cf9034
 
Posts: n/a
Default Copying Excel Macros

Thanks much!
Christine

"Dave Peterson" wrote:

Create a new workbook, move all your macros into that workbook and save it as an
addin.

Provide some sort of interface to the user so that they can run the macro.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

After you distribute the addin, you can tell the users to use:
tools|addins|
to browse for it and turn it on.

In fact, if all the users have access to a common network drive, you could put
the addin in a folder on that drive and tell them to browse for that addin
(tools|addins). Then you don't have to distribute the file to any person.

And don't name it personal.xla. Only one workbook with that name can be open.
And if the user has their own personal.xla, they'll have to make a decision on
which one to use.




cf9034 wrote:

I have created a macro in Excel that I need to share with other users in my
office. I would like to copy this macro to their pc. How can I add this
macro to their macro listing without removing what they currently have?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default Copying Excel Macros

Cool approach. I've really learned from reading your post's over the last 6
months. Thanks DAve.
--
Kevin Backmann


"Dave Peterson" wrote:

Create a new workbook, move all your macros into that workbook and save it as an
addin.

Provide some sort of interface to the user so that they can run the macro.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

After you distribute the addin, you can tell the users to use:
tools|addins|
to browse for it and turn it on.

In fact, if all the users have access to a common network drive, you could put
the addin in a folder on that drive and tell them to browse for that addin
(tools|addins). Then you don't have to distribute the file to any person.

And don't name it personal.xla. Only one workbook with that name can be open.
And if the user has their own personal.xla, they'll have to make a decision on
which one to use.




cf9034 wrote:

I have created a macro in Excel that I need to share with other users in my
office. I would like to copy this macro to their pc. How can I add this
macro to their macro listing without removing what they currently have?


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Copying Excel Macros

I think that lots of us learn from the posts of others--I know I do.

But sometimes it pays to read my suggestions--just so you can correct them!
<bg.

Kevin B wrote:

Cool approach. I've really learned from reading your post's over the last 6
months. Thanks DAve.
--
Kevin Backmann

"Dave Peterson" wrote:

Create a new workbook, move all your macros into that workbook and save it as an
addin.

Provide some sort of interface to the user so that they can run the macro.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

After you distribute the addin, you can tell the users to use:
tools|addins|
to browse for it and turn it on.

In fact, if all the users have access to a common network drive, you could put
the addin in a folder on that drive and tell them to browse for that addin
(tools|addins). Then you don't have to distribute the file to any person.

And don't name it personal.xla. Only one workbook with that name can be open.
And if the user has their own personal.xla, they'll have to make a decision on
which one to use.




cf9034 wrote:

I have created a macro in Excel that I need to share with other users in my
office. I would like to copy this macro to their pc. How can I add this
macro to their macro listing without removing what they currently have?


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default Copying Excel Macros

Open the workbook that has the macro and press Alt+F11 to open the VBE.
Select the module that has the macro and click on FILE in the menu and select
EXPORT FILE. In the SAVE dialog box select the destination drive/folder and
save the file. The macro module will have the same name as the module itself
with a BAS extension. You can then email the module to your users.

They, in turn, need to open Excel, go to the VBE and click FILE, IMPORT FILE
to incorporate the module. IF they're going to be putting this in their
PERSONAL.XLS file, have them unhide the PERSONAL.XLS file and import the
macro from that file.
--
Kevin Backmann


"cf9034" wrote:

I have created a macro in Excel that I need to share with other users in my
office. I would like to copy this macro to their pc. How can I add this
macro to their macro listing without removing what they currently have?

  #7   Report Post  
Posted to microsoft.public.excel.misc
cf9034
 
Posts: n/a
Default Copying Excel Macros

Thanks much!
Christine

"Kevin B" wrote:

Open the workbook that has the macro and press Alt+F11 to open the VBE.
Select the module that has the macro and click on FILE in the menu and select
EXPORT FILE. In the SAVE dialog box select the destination drive/folder and
save the file. The macro module will have the same name as the module itself
with a BAS extension. You can then email the module to your users.

They, in turn, need to open Excel, go to the VBE and click FILE, IMPORT FILE
to incorporate the module. IF they're going to be putting this in their
PERSONAL.XLS file, have them unhide the PERSONAL.XLS file and import the
macro from that file.
--
Kevin Backmann


"cf9034" wrote:

I have created a macro in Excel that I need to share with other users in my
office. I would like to copy this macro to their pc. How can I add this
macro to their macro listing without removing what they currently have?

  #8   Report Post  
Posted to microsoft.public.excel.misc
PG PG is offline
external usenet poster
 
Posts: 11
Default Copying Excel Macros

I saw you post and how do you get the new module to show up in the micro menu
to select it or run it?

"Kevin B" wrote:

Open the workbook that has the macro and press Alt+F11 to open the VBE.
Select the module that has the macro and click on FILE in the menu and select
EXPORT FILE. In the SAVE dialog box select the destination drive/folder and
save the file. The macro module will have the same name as the module itself
with a BAS extension. You can then email the module to your users.

They, in turn, need to open Excel, go to the VBE and click FILE, IMPORT FILE
to incorporate the module. IF they're going to be putting this in their
PERSONAL.XLS file, have them unhide the PERSONAL.XLS file and import the
macro from that file.
--
Kevin Backmann


"cf9034" wrote:

I have created a macro in Excel that I need to share with other users in my
office. I would like to copy this macro to their pc. How can I add this
macro to their macro listing without removing what they currently have?

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 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How to copy 98-97 excel macros to excel 2000 (XP) will A Excel Worksheet Functions 3 November 8th 05 06:37 PM
How do I update Excel 2000 macros to work in Excel 2002? BobPetrich Excel Discussion (Misc queries) 3 January 4th 05 04:06 PM
Copying an Excel spreadsheet to a Word document KG Excel Discussion (Misc queries) 1 November 28th 04 07:38 PM


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