ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Is there "SourceSafe" for Excel VB Macros? (https://www.excelbanter.com/excel-programming/274943-there-sourcesafe-excel-vbulletin-macros.html)

Henry Fleming

Is there "SourceSafe" for Excel VB Macros?
 
We have a source/version control system called SourceSafe that handles
storage and versioning of C++, Java, and ASP files. However, I need a
similar system for Excel Visual Basic macros. The problem is that
they seem to be embedded in the .XLS file. I don't know if the macros
can be stored as individual source code files the way the other
languages can. My macros are getting large enough that this is
becoming an issue. Can anyone help?

steve

Is there "SourceSafe" for Excel VB Macros?
 
Henry,

There are 4 basic ways to store macros (maybe more)
1. Macros in a workbook - available only when the workbook is open
2. Macros in your Personal.xls - available everytime you open Excel
3. Macros in an Add-In - available everytime you open Excel and have
checked the Add-In in your Add-In list
4. Macros in any workbook stored in the same folder as your
Personal.xls - available every time you open Excel.

Note that if you create a custom toolbar button and assign it to a macro
that is in a workbook that will be closed most of the time. Clicking the
button will open the workbook and run the macro.

--
sb
"Henry Fleming" wrote in message
om...
We have a source/version control system called SourceSafe that handles
storage and versioning of C++, Java, and ASP files. However, I need a
similar system for Excel Visual Basic macros. The problem is that
they seem to be embedded in the .XLS file. I don't know if the macros
can be stored as individual source code files the way the other
languages can. My macros are getting large enough that this is
becoming an issue. Can anyone help?





All times are GMT +1. The time now is 10:31 PM.

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