Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Setting worksheet protection password in VBA

"Tim Lund" wrote in message ...
In VB, how can I get a prompt for a password to come up?
When I record a macro, all I get in activesheet.protect
and some stuff about objects, etc, but nothing to prompt
for password.

Tim


activesheet.protect password:= opensesame or activesheet.unprotect opensesame
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 Worksheet Password Protection Christina Excel Worksheet Functions 2 March 19th 13 12:24 PM
Password protection excel document - last user setting lost Jon's problem Excel Discussion (Misc queries) 0 October 23rd 07 11:52 PM
use a macro to automate excel worksheet password protection Bodyshopman Excel Discussion (Misc queries) 2 July 25th 07 01:21 AM
Setting password on worksheet in Excel 2000 Bill[_2_] Excel Worksheet Functions 1 February 14th 07 07:05 PM
Password protection of worksheet when copied and pasted. Shansi Excel Worksheet Functions 1 July 30th 05 12:23 AM


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