Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Work Book Security

No.

You can do various things, such as hide your sheets and unhide them via
code (leaving a single splash sheet saying "You must enable macros").

But protection in XL is very weak. It's a matter of a minute or less to
remove all internal and VBA protection from a workbook, with the right
tools, so you can't force the user to do much of anything...


In article ,
"Brent" wrote:

Is there a way to force someone to enable Macro's before opening up an Excel
file? I'm currently on Office XP. Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Work Book Security

Is there a way to force someone to enable Macro's before opening up an Excel
file? I'm currently on Office XP. Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 123
Default Work Book Security

Well Brent,

The only way to be sure is to be standing behind the users PC and
ensuring that he is enabling macros.

Well jokes apart, you can sign your VBA project digitally and install
your digital certificate on every users PC.

With digitally singed and certificate verified it will not ask user
whether to eanble macros or not, the macros will be simply enabled.

Sharad



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Work Book Security

No. In order for code to run to determine whether macros are enabled,
macros have to be enabled...

Note that your current scheme wouldn't prevent anyone from setting the
date back on their machine, and opening a copy of the file.

In article ,
"Brent" wrote:

Thanks for the info. I have some code written that looks at the date and
if it is greater than a value I put in it then it deletes the sheet and
saves file. I'm really new at the VB side. Is there some code that looks
wether Macro's are Enabled? Again thanks for the help.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Work Book Security

Thanks for the info. I have some code written that looks at the date and
if it is greater than a value I put in it then it deletes the sheet and
saves file. I'm really new at the VB side. Is there some code that looks
wether Macro's are Enabled? Again thanks for the help.

Brent


"JE McGimpsey" wrote in message
...
No.

You can do various things, such as hide your sheets and unhide them via
code (leaving a single splash sheet saying "You must enable macros").

But protection in XL is very weak. It's a matter of a minute or less to
remove all internal and VBA protection from a workbook, with the right
tools, so you can't force the user to do much of anything...


In article ,
"Brent" wrote:

Is there a way to force someone to enable Macro's before opening up an
Excel
file? I'm currently on Office XP. Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
work book vspindle Excel Worksheet Functions 2 January 7th 09 01:55 PM
macros won't work stupid security mike Excel Discussion (Misc queries) 7 April 10th 08 12:11 AM
Macro won't work due to Security Setting? japc90 Excel Discussion (Misc queries) 4 August 7th 06 12:55 AM
Is there away to keep "auto save" from jumping to the first work sheet in the work book? Marc New Users to Excel 2 April 21st 05 01:27 AM
simultaneously work in a work book with other users Sweets Excel Discussion (Misc queries) 1 April 18th 05 07:35 PM


All times are GMT +1. The time now is 04:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"