Skip to content

Commit

Permalink
Fix issue #1 - Allow file properties to be set
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jimm-domingo committed Sep 7, 2016
1 parent 28892be commit f161c80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file modified Simple Toolkit_DEV.xlam
Binary file not shown.
4 changes: 4 additions & 0 deletions bootstrap.bas
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Public LoaderModule_Path As String
' Called by ThisWorkbook.Workbook_Open event procedure (as a workaround
' for this issue: http://stackoverflow.com/q/34498794/1258514)
Public Sub InitializeAddIn()
If ThisWorkbook.Name Like "*NO-LOAD*" Then
' Do not import any modules so developer can change file properties.
Exit Sub
End If
If ThisWorkbook.Name Like "*DEV*" Then
CurrentMode = Development
ConfModule_Path = Replace(ThisWorkbook.FullName, "DEV.xlam", _
Expand Down

0 comments on commit f161c80

Please sign in to comment.