L
Lostguy
Hello!
I found this code for ensuring that users always enable macros, but I
have a few questions about it:
http://www.vbaexpress.com/kb/getarticle.php?kb_id=379
a) What would needed to be added to the code to make it work on a
protected workbook?
b) Does the code need some kind of error handling?
(For my workbooks, there is a "Print" button on each sheet that when
you push it, autofits the rows, pops up the spell checker, compares a
few cells to make sure there are no duplicates, end dates don't come
before start dates, etc.
So without macros being always enabled, the workbook's functionality
goes way down. So, I want to hide the sheets if the user doesn't
enable macros.)
Thanks for the help!
VR/Lost
I found this code for ensuring that users always enable macros, but I
have a few questions about it:
http://www.vbaexpress.com/kb/getarticle.php?kb_id=379
a) What would needed to be added to the code to make it work on a
protected workbook?
b) Does the code need some kind of error handling?
(For my workbooks, there is a "Print" button on each sheet that when
you push it, autofits the rows, pops up the spell checker, compares a
few cells to make sure there are no duplicates, end dates don't come
before start dates, etc.
So without macros being always enabled, the workbook's functionality
goes way down. So, I want to hide the sheets if the user doesn't
enable macros.)
Thanks for the help!
VR/Lost