Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Best Practices - Workbook security & macros

I have developed an Excel 2007 Workbook that uses vba quite extensively for
allowing privileges, determining the user's Excel version, hiding,
protecting, etc. In the privileges area, external users have the "PLY"
commandbar shutdown so the cannot browse through the internal sheets. They
also have different ribbon tabs, groups and buttons.

However, the Workbook template will be placed on the Internet for download
by potential partners (external users) as well as hackers no doubt. If it is
placed in a non-trusted location and run the Microsoft "enable macros" comes
up and, if the user doesn't enable macros the keyboard commands are
available which allows full control over the contents of the Workbook.

What are the ways and means to protect the content until such time that
macros have been enabled? I will certainly place a password on the VBA
project but would making all sheets xlVeryHidden do much?

I thank you for your help and advice on this. I am sure there are others who
face this problem.

Sincerely,

rick

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Best Practices - Workbook security & macros



You'll probably find the following pages useful:
http://www.cpearson.com/Excel/EnableMacros.aspx
http://www.cpearson.com/Excel/EnableMacros2.aspx


Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]




On Tue, 12 Jan 2010 09:42:28 -0500, "news.microsoft.com"
wrote:

I have developed an Excel 2007 Workbook that uses vba quite extensively for
allowing privileges, determining the user's Excel version, hiding,
protecting, etc. In the privileges area, external users have the "PLY"
commandbar shutdown so the cannot browse through the internal sheets. They
also have different ribbon tabs, groups and buttons.

However, the Workbook template will be placed on the Internet for download
by potential partners (external users) as well as hackers no doubt. If it is
placed in a non-trusted location and run the Microsoft "enable macros" comes
up and, if the user doesn't enable macros the keyboard commands are
available which allows full control over the contents of the Workbook.

What are the ways and means to protect the content until such time that
macros have been enabled? I will certainly place a password on the VBA
project but would making all sheets xlVeryHidden do much?

I thank you for your help and advice on this. I am sure there are others who
face this problem.

Sincerely,

rick

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Best Practices - Workbook security & macros

Thank you very much Chip. As usual, your advice is always right on point. I
am trying out the first link's code.

Regards,
Rick Street

"Chip Pearson" wrote in message
...

You'll probably find the following pages useful:
http://www.cpearson.com/Excel/EnableMacros.aspx
http://www.cpearson.com/Excel/EnableMacros2.aspx


Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]




On Tue, 12 Jan 2010 09:42:28 -0500, "news.microsoft.com"
wrote:

I have developed an Excel 2007 Workbook that uses vba quite extensively
for
allowing privileges, determining the user's Excel version, hiding,
protecting, etc. In the privileges area, external users have the "PLY"
commandbar shutdown so the cannot browse through the internal sheets. They
also have different ribbon tabs, groups and buttons.

However, the Workbook template will be placed on the Internet for download
by potential partners (external users) as well as hackers no doubt. If it
is
placed in a non-trusted location and run the Microsoft "enable macros"
comes
up and, if the user doesn't enable macros the keyboard commands are
available which allows full control over the contents of the Workbook.

What are the ways and means to protect the content until such time that
macros have been enabled? I will certainly place a password on the VBA
project but would making all sheets xlVeryHidden do much?

I thank you for your help and advice on this. I am sure there are others
who
face this problem.

Sincerely,

rick


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
Macros security Chi Excel Discussion (Misc queries) 2 September 29th 09 07:44 PM
Macros/Security Jeff Excel Worksheet Functions 3 December 17th 08 05:17 PM
Macros security AiadTarik Excel Programming 2 November 5th 08 08:31 AM
security for my macros Steel.Detailer Excel Programming 1 December 23rd 03 05:30 AM


All times are GMT +1. The time now is 02:54 PM.

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

About Us

"It's about Microsoft Excel"