Computing.Net > Forums > Office Software > Password for Command Button

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Password for Command Button

Reply to Message Icon

Name: umich1967
Date: November 7, 2006 at 10:26:06 Pacific
OS: Windows XP V.2002 SP2
CPU/Ram: P4 2.8/504 MB
Product: Dell
Comment:

I have a workbook containing some data (not sensitive) on several sheets - one for each unit in our department. The first sheet on the workbook has command buttons that will take you to a selected sheet. Can I add a password to each command button so only certain people will be able to view selected sheets?

Thanks,
Scott



Sponsored Link
Ads by Google

Response Number 1
Name: rhawk7938
Date: November 7, 2006 at 11:01:08 Pacific
Reply:

If I were going to do it, I'd use VBA to bring up an input box when the clicked the button, asking for a password. Then branch to a sub procedure matching that password, where it would execute the appropiate code to open the selected sheets.
Hope this helps.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Password for Command Button

Command Buttons Moving www.computing.net/answers/office/command-buttons-moving/7114.html

Hide Command Button from Printing www.computing.net/answers/office/hide-command-button-from-printing/8109.html

codes for command button www.computing.net/answers/office/codes-for-command-button/8379.html