Copying a macro to multiple docs
Closed
Kat
-
Feb 26, 2010 at 03:23 PM
rizvisa1 Posts 4479 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 26, 2010 at 03:48 PM
rizvisa1 Posts 4479 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 26, 2010 at 03:48 PM
Related:
- Copying a macro to multiple docs
- If cell contains (multiple text criteria) then return (corresponding text criteria) ✓ - Excel Forum
- Allow multiple downloads chrome - Guide
- How to get google docs to read to you - Guide
- How to make a copy of a google doc - Guide
- How to delete multiple files on mac - Guide
1 reply
rizvisa1
Posts
4479
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
767
Feb 26, 2010 at 03:48 PM
Feb 26, 2010 at 03:48 PM
You can have macro save in an xla file. So each time excel opens, macro is available
or in a new book have some thing like this
Sub AddModule(myBook As Workbook, myModule As String)
myBook.VBProject.VBComponents.Import myModule
End Sub
and define your book and module to import
or in a new book have some thing like this
Sub AddModule(myBook As Workbook, myModule As String)
myBook.VBProject.VBComponents.Import myModule
End Sub
and define your book and module to import