Thread: VB Excel Macro
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default VB Excel Macro

It depends on how that macro is written (and what it does).

It could be as simple as opening the macro workbook, activating the "real"
workbook and the sheet that should be processed, then hitting alt-F8 and
selecting the macro and running it.

This could even work if the code was written to work on the activesheet <bg.

ajmplanner wrote:

I have a VB Macro in an Excel spreadsheet that I want to use in other
spreadsheets. What is the most efficient way to do this without copying the
macro code from sheet to sheet.


--

Dave Peterson