Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel macros - shared between different xls files?

Can macros be "shared" or must they belong to a specific file? Put
another way... can macros contained in one spreadsheet be run against
other spreadsheets which don't have that macro? Example...
a.xls has a macro
b.xls is in the same format as a.xls but does not have the macro.
When I open b.xls, can I run the macro in a.xls?
Thanks Marty
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Excel macros - shared between different xls files?

If in file a you use tools/macros/macros/options and set the macro to run
when you type control m, then if you have files a and b open, and a cell in
file b selected, when you type control m the macro should run and do its
stuff on file b.

" wrote:

Can macros be "shared" or must they belong to a specific file? Put
another way... can macros contained in one spreadsheet be run against
other spreadsheets which don't have that macro? Example...
a.xls has a macro
b.xls is in the same format as a.xls but does not have the macro.
When I open b.xls, can I run the macro in a.xls?
Thanks Marty

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
Shared Files in Excel Ben Kawaguchi Excel Discussion (Misc queries) 0 October 23rd 08 12:00 AM
run excel macros from shared drive dimpie Excel Programming 1 June 21st 07 08:52 PM
Excel icon changes on shared files sysmas Excel Discussion (Misc queries) 0 August 29th 06 02:58 PM
Saving shared Excel files scasawyer New Users to Excel 3 February 7th 05 02:21 PM
Can we create/run macros in Shared excel file. How? Ravish Jain Excel Programming 1 September 20th 04 11:38 AM


All times are GMT +1. The time now is 07:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"