#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default password

ActiveWorkbook.Sheets("MANUAL TS").Protect
i use the above code to protect a worksheet, what extra code do i need to
use a password
thankyou john
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default password

Hover your mouse pointer over the word "Protect" and press F1.

--
Jim
"john tempest" wrote in message
...
| ActiveWorkbook.Sheets("MANUAL TS").Protect
| i use the above code to protect a worksheet, what extra code do i need to
| use a password
| thankyou john


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default password

U don't need an extra code just add after protect Password := "drowssap"

example: ActiveWorkbook.Protect Password := "password"

€žjohn tempest" napĂ*sal (napĂ*sala):

ActiveWorkbook.Sheets("MANUAL TS").Protect
i use the above code to protect a worksheet, what extra code do i need to
use a password
thankyou john

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default password

thankyou Heinrich
that works just fine
"Henrich" wrote:

U don't need an extra code just add after protect Password := "drowssap"

example: ActiveWorkbook.Protect Password := "password"

€žjohn tempest" napĂ*sal (napĂ*sala):

ActiveWorkbook.Sheets("MANUAL TS").Protect
i use the above code to protect a worksheet, what extra code do i need to
use a password
thankyou john



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
How to retrive password protected worksheet but forgot password? Laurie Excel Worksheet Functions 1 November 19th 09 09:42 PM
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. Daniel Excel Worksheet Functions 0 June 23rd 05 11:56 PM
bypass password when update linking of password protected file Yan Excel Discussion (Misc queries) 1 February 7th 05 11:29 PM
Comparing password entry vs stored password - 2003 L Mehl Excel Programming 3 November 19th 04 05:52 PM
Excel password but cant hide the sheets before entering password cakonopka[_3_] Excel Programming 1 January 30th 04 06:28 PM


All times are GMT +1. The time now is 11:44 PM.

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"