Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need help with beginner VB question

I'm trying to create VBA code in Excel to do 2 things:
1) Hide a range of cells then password protect the sheet so that only
certain users (with the passwod) may view the hidden data.
2) When the users open up the workbook, unprotect the sheet by asking
the user for the password. When the correct password is input,
unprotect and unhide the above data.

My primary problem is that whe I try to record the macro, it ignores
anything to do with password protection. I can automate the protection
and unhiding of data, however I can't get it to password protect...nor
can I get it to ask for a password to unprotect.

Thanks in advance



*** Sent via Developersdex http://www.developersdex.com ***
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
Beginner Question Bernie Charts and Charting in Excel 0 February 13th 07 04:31 PM
Beginner question! Pat Excel Discussion (Misc queries) 3 August 7th 06 09:19 AM
Beginner question Tom. Excel Discussion (Misc queries) 1 April 24th 06 06:08 AM
beginner question Roshintosh Excel Programming 2 November 9th 05 02:11 AM
Beginner VBA question light Excel Programming 0 November 10th 04 05:40 PM


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