View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default using protection (but allowing a combobox to still work)

worksheets("Sheet1").Unprotect Password:="ABCD"
' code
Worksheets("Sheet1").Protect Password:="ABCD"

--
Regards,
Tom Ogilvy

"neowok " wrote in message
...
hmmm what code would unprotect the sheet (including entering a
password)?

worksheet.unprotect(password) ?


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