ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel Macro question (https://www.excelbanter.com/excel-discussion-misc-queries/129789-excel-macro-question.html)

Greg

Excel Macro question
 
Is there a way to export and import specific macros instead of all macros?

This is the situation:
A co-worker and I share the same macros and up until a few months ago we
used to keep our macros updated by transfering the "Excel11.xlb" file located
at "C:\Documents and Settings\(user_profile)\Application
Data\Microsoft\Excel."
For a while now we have been making our own personal macros. Now if one of
us creates a macro and the other needs just that macro, how can we export and
import just that specific macro instead of transfering the entire file thus
overwriting any of the other persons personal macros?

Thanks in advance,
Greg

Stefi

Excel Macro question
 
You can easily export and import modules: in VBA Project Explorer right click
on the module, choose export, it creates a .BAS file, it then can be imported
in a similar way by the other party. Place your new macros you want to
exchange into a separate module, so you can use this method.

Regards,
Stefi


€˛Greg€¯ ezt Ć*rta:

Is there a way to export and import specific macros instead of all macros?

This is the situation:
A co-worker and I share the same macros and up until a few months ago we
used to keep our macros updated by transfering the "Excel11.xlb" file located
at "C:\Documents and Settings\(user_profile)\Application
Data\Microsoft\Excel."
For a while now we have been making our own personal macros. Now if one of
us creates a macro and the other needs just that macro, how can we export and
import just that specific macro instead of transfering the entire file thus
overwriting any of the other persons personal macros?

Thanks in advance,
Greg


Greg

Excel Macro question
 
Awesome, thanks Stefi

"Stefi" wrote:

You can easily export and import modules: in VBA Project Explorer right click
on the module, choose export, it creates a .BAS file, it then can be imported
in a similar way by the other party. Place your new macros you want to
exchange into a separate module, so you can use this method.

Regards,
Stefi


€˛Greg€¯ ezt Ć*rta:

Is there a way to export and import specific macros instead of all macros?

This is the situation:
A co-worker and I share the same macros and up until a few months ago we
used to keep our macros updated by transfering the "Excel11.xlb" file located
at "C:\Documents and Settings\(user_profile)\Application
Data\Microsoft\Excel."
For a while now we have been making our own personal macros. Now if one of
us creates a macro and the other needs just that macro, how can we export and
import just that specific macro instead of transfering the entire file thus
overwriting any of the other persons personal macros?

Thanks in advance,
Greg


Stefi

Excel Macro question
 
You are welcome! Thanks for the feedback!
Stefi


€˛Greg€¯ ezt Ć*rta:

Awesome, thanks Stefi

"Stefi" wrote:

You can easily export and import modules: in VBA Project Explorer right click
on the module, choose export, it creates a .BAS file, it then can be imported
in a similar way by the other party. Place your new macros you want to
exchange into a separate module, so you can use this method.

Regards,
Stefi


€˛Greg€¯ ezt Ć*rta:

Is there a way to export and import specific macros instead of all macros?

This is the situation:
A co-worker and I share the same macros and up until a few months ago we
used to keep our macros updated by transfering the "Excel11.xlb" file located
at "C:\Documents and Settings\(user_profile)\Application
Data\Microsoft\Excel."
For a while now we have been making our own personal macros. Now if one of
us creates a macro and the other needs just that macro, how can we export and
import just that specific macro instead of transfering the entire file thus
overwriting any of the other persons personal macros?

Thanks in advance,
Greg


Gord Dibben

Excel Macro question
 
Greg

Info only..............

Macros do not reside in the Excel11.xlb file.

That file only saves the Menu and Toolbar customizations you have made.

Macros reside in workbooks, whether they be regular workbooks or add-ins.


Gord Dibben MS Excel MVP

On Thu, 8 Feb 2007 06:33:02 -0800, Greg wrote:

Is there a way to export and import specific macros instead of all macros?

This is the situation:
A co-worker and I share the same macros and up until a few months ago we
used to keep our macros updated by transfering the "Excel11.xlb" file located
at "C:\Documents and Settings\(user_profile)\Application
Data\Microsoft\Excel."
For a while now we have been making our own personal macros. Now if one of
us creates a macro and the other needs just that macro, how can we export and
import just that specific macro instead of transfering the entire file thus
overwriting any of the other persons personal macros?

Thanks in advance,
Greg




All times are GMT +1. The time now is 05:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com