Copying a macro to multiple docs
Closed
Kat
-
Feb 26, 2010 at 03:23 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 26, 2010 at 03:48 PM
rizvisa1 Posts 4478 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
- Google docs ocr - Guide
- How to delete multiple files on mac - Guide
- How to lasso multiple objects in photoshop - Guide
- Google docs right to left - Guide
- Allow multiple downloads chrome - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
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