Skip to content

Commit f161c80

Browse files
committed
Fix issue #1 - Allow file properties to be set
By temporarily renaming the development edition of the add-in so its name includes the string "NO-LOAD", developers can now open the add-in with macros enabled. Then they can follow Chip Pearson's instructions to set the add-in's file properties.
1 parent 28892be commit f161c80

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Simple Toolkit_DEV.xlam

3.4 KB
Binary file not shown.

bootstrap.bas

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ Public LoaderModule_Path As String
3434
' Called by ThisWorkbook.Workbook_Open event procedure (as a workaround
3535
' for this issue: http://stackoverflow.com/q/34498794/1258514)
3636
Public Sub InitializeAddIn()
37+
If ThisWorkbook.Name Like "*NO-LOAD*" Then
38+
' Do not import any modules so developer can change file properties.
39+
Exit Sub
40+
End If
3741
If ThisWorkbook.Name Like "*DEV*" Then
3842
CurrentMode = Development
3943
ConfModule_Path = Replace(ThisWorkbook.FullName, "DEV.xlam", _

0 commit comments

Comments
 (0)