K
KR
I currently manage a network folder which contains an Excel file for each of
about 250 users. In the current incarnation, each workbook is completely
separate and has it's own userforms and code (several modules). I've found
is that managing small changes in the code is a nightmare, because each
workbook requires an update. In addition, I'm not always notified as new
users are assigned, and I generally find out because someone complains that
they don't have a workbook. So, I'm thinking about re-building everything
with a different design, but I haven't done a lot with template files so I'm
not sure how well they'd work for the following.
I'd like to store all the code (and userforms?) in one main file, linked to
each user file. Ideally, I could give everyone a (read-only) link to the
main (template?) file, and have the code in that file check their userID,
and open their individual file, and then close/hide their read-only copy of
the main file. If the user doesn't have an existing file based on their
userID, I can create one on the fly.
Then when the user clicks on the command button in the file, I'd like it to
pull the userforms and code from the main (template?) file- that way, if
updates are needed, I'll only have to update the one main file.
Is this a reasonable approach? Any caveats? I don't have access to each
person's PC (geographical distribution of users) so I can't change their
settings or add anything to their individual PCs, which are locked down by
IT anyway. I'm looking for the best standalone solution that I can implement
on the network drive.
Any examples of how to best link the individual files to reference the
userforms and code in the main file would be appreciated!
Thanks,
Keith
about 250 users. In the current incarnation, each workbook is completely
separate and has it's own userforms and code (several modules). I've found
is that managing small changes in the code is a nightmare, because each
workbook requires an update. In addition, I'm not always notified as new
users are assigned, and I generally find out because someone complains that
they don't have a workbook. So, I'm thinking about re-building everything
with a different design, but I haven't done a lot with template files so I'm
not sure how well they'd work for the following.
I'd like to store all the code (and userforms?) in one main file, linked to
each user file. Ideally, I could give everyone a (read-only) link to the
main (template?) file, and have the code in that file check their userID,
and open their individual file, and then close/hide their read-only copy of
the main file. If the user doesn't have an existing file based on their
userID, I can create one on the fly.
Then when the user clicks on the command button in the file, I'd like it to
pull the userforms and code from the main (template?) file- that way, if
updates are needed, I'll only have to update the one main file.
Is this a reasonable approach? Any caveats? I don't have access to each
person's PC (geographical distribution of users) so I can't change their
settings or add anything to their individual PCs, which are locked down by
IT anyway. I'm looking for the best standalone solution that I can implement
on the network drive.
Any examples of how to best link the individual files to reference the
userforms and code in the main file would be appreciated!
Thanks,
Keith