Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Conversation

spences10
Copy link
Owner

No description provided.

mattpalermo and others added 9 commits January 21, 2017 22:37
In the Export() sub, an unhandled error would occur if the
"References" or "Module Paths" properties were not set in the
JSON configuration file.

The problem was handled by making these properties optional. If
they are not present, the Export sub will not perform the action
related to each property. This means the behaviour for an empty
property is identical to no property. This is the behaviour already
implemented in the Import sub. I forgot to change the Export sub
when I did the Import implementation.
The use of the Exit Sub statement outside of the exitSub block
breaks the expected program flow. exitSub is expected to always
execute when possible.
Add instruction to the README to enable the VBA project model trust.
When an error occurs an error dialog will show as before. However
this dialog will ask if the user would like to enter the debugger.

The error handler is still only implemented in the same procedures
as before. Before putting it in all procedures I want to wait for
another PR to get merged so that I can rename the exitSub label
to exitProc.
This is a fix for an issue mainly with sheet modules. It is normal
for sheet modules not to have any code. In this case it is
distracting to have empty files in the project directory just for
these. Instead they shouldn't be added to the configuration file.

I hope this won't cause any problems with modules left intentionally
empty.
enable VBA project model trust instruction
Allow debugging from error dialog
Only add non-empty modules to configuration
@spences10 spences10 merged commit 93fd869 into master Jan 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants