Skip to content

Commit

Permalink
import defaults to include classes - fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
gkuenzli committed Feb 12, 2017
1 parent 40dba6b commit b59ff77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vbaDeveloper.xlam/Build.bas
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ Private Sub exportLines(exportPath As String, component As VBComponent)
End Sub


' Usually called after the given workbook is opened. The option includeClassFiles is False by default because
' they don't import correctly from VBA. They'll have to be imported manually instead.
Public Sub importVbaCode(vbaProject As VBProject, Optional includeClassFiles As Boolean = False)
' Usually called after the given workbook is opened.
' The option includeClassFiles is True by default providing that git repo is correctly handling line endings as crlf (Windows-style) instead of lf (Unix-style)
Public Sub importVbaCode(vbaProject As VBProject, Optional includeClassFiles As Boolean = True)
Dim vbProjectFileName As String
On Error Resume Next
'this can throw if the workbook has never been saved.
Expand Down

0 comments on commit b59ff77

Please sign in to comment.