I
Ian
This is a long shot, but I'll ask anyway.
I am developing a Word template for a user who knows nothing about VBA.
The template contains user-specific data structures, implemented as
simple one or two-dimensional string arrays. Nothing complicated.
The user is happy to edit the arrays if required, but is very
uncomfortable about doing this in situ in the VBA code, in case he
breaks something.
Is there any simple way of protecting parts of the VBA code, so that the
user can not change anything except the arrays (without giving a
password, for example)?
Failing that, the only other idea I have come up with is to put the
array data in a separate file, editable by the user, and then read that
file at runtime. But this means we now have two files (the template file
and the data file), which is not very elegant.
Other ideas anyone?
I am developing a Word template for a user who knows nothing about VBA.
The template contains user-specific data structures, implemented as
simple one or two-dimensional string arrays. Nothing complicated.
The user is happy to edit the arrays if required, but is very
uncomfortable about doing this in situ in the VBA code, in case he
breaks something.
Is there any simple way of protecting parts of the VBA code, so that the
user can not change anything except the arrays (without giving a
password, for example)?
Failing that, the only other idea I have come up with is to put the
array data in a separate file, editable by the user, and then read that
file at runtime. But this means we now have two files (the template file
and the data file), which is not very elegant.
Other ideas anyone?