Sorry, but that can't be done.
What can be done (and you have some answers in your previous post)
is to make the workbook unusable if macros are disabled.
Please note that Excel is by no means secure.
Even if you protect and lock the VBA code, it's quite simple for an
experienced user to crack it. There are also programs for sale
on the net that crack VBA protection.
Once they get into the code, whatever you wrote in there to
protect your work is futile.
Hi Alan.. thanks for the tip. I have tried adding the code but it di
not work as expected. I'm not sure if there's something I've missed bu
is it suppose to open (but show the Macro1 sheet) when I disabl
macros
Hi Alan.. thanks for the tip. I have tried adding the code but it did
not work as expected. I'm not sure if there's something I've missed
but is it suppose to open (but show the Macro1 sheet) when I disable
macros?
Just run the code once in any workbook, and it will add the
Excel4Macro sheet.
Once you have done that, the workbook contains a macro, so the
dialogue comes up when you open it, and it is an Excel4 Macro, so
disabling causes excel not to open the file at all.
HTH,
Alan.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.