Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
please help. is it possible to password protect only one sheet in workbook?
if so, could anyone please help. can i incorporate the script into an existing macro? thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this
Sub Sonic() 'Do lots of things Sheets("Sheet1").Protect Password:="Mypass" End Sub Mike "des-sa" wrote: please help. is it possible to password protect only one sheet in workbook? if so, could anyone please help. can i incorporate the script into an existing macro? thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub Macro1()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True End Sub -- Gary''s Student - gsnu200827 "des-sa" wrote: please help. is it possible to password protect only one sheet in workbook? if so, could anyone please help. can i incorporate the script into an existing macro? thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
From XL
Tools-Protection-Protect sheet From VBA (w/ password) Sub test() Dim xPass As String xPass = "MyPassword" ActiveSheet.Protect Password = xPass ActiveSheet.Unprotect Password = xPass End Sub -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "des-sa" wrote: please help. is it possible to password protect only one sheet in workbook? if so, could anyone please help. can i incorporate the script into an existing macro? thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Protecting a sheet with a list on it | Excel Discussion (Misc queries) | |||
Can't use tab after protecting sheet. | Excel Worksheet Functions | |||
Protecting Sheet | Excel Worksheet Functions | |||
Sheet Protecting password | Excel Discussion (Misc queries) | |||
Can't use tab after protecting sheet. | Excel Discussion (Misc queries) |