Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to set password to protect worksheet under excel?

i want to protect my worksheet with password after a new row has bee
added in. how do i go about doing it? i am unsure what object o
methods to use

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default how to set password to protect worksheet under excel?

This is one of those things that you can solve by recording a macro:

I got this line:

ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True

xl didn't record the actual password. But I could look at help and see that I
need something like:

ActiveSheet.Protect DrawingObjects:=True, _
Contents:=True, Scenarios:=True, password:="hi"



"shirley <" wrote:

i want to protect my worksheet with password after a new row has been
added in. how do i go about doing it? i am unsure what object or
methods to use.

---
Message posted from http://www.ExcelForum.com/


--

Dave Peterson

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
Excel Office 2007 Password protect worksheet Lori[_2_] Excel Worksheet Functions 1 August 5th 09 04:10 PM
Password Protect a Worksheet joinme4coffee Excel Discussion (Misc queries) 8 October 28th 07 07:02 PM
Protect a worksheet with a password colettey29 Excel Worksheet Functions 2 September 26th 06 05:51 PM
How do I password protect a single tab in a worksheet in excel ? Fritz Excel Discussion (Misc queries) 4 March 6th 06 02:30 PM
password protect worksheet Ben Excel Discussion (Misc queries) 3 February 14th 06 02:30 PM


All times are GMT +1. The time now is 03:34 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"