LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default Password request to run macro

add as userform. you can set a password character in a
textbox = if the pwd is not OK then you can raise a
warning

Patrick Molloy
Microsoft Excel MVP
-----Original Message-----
Hi,
I have a workbook with two sheets...one visible to all

and one for
maintenance. I have written two macros...one to hide the

maintenance sheet
(amongst other things), the other to unhide them. They

are then activated by
clicking the relevant buttons that I have created on the

face of the visible
sheet.
What I now need to do is password protect these buttons

so that if an
unauthorised user clicks on them, XL prompts for a

password.
Any suggestions?
Also, although I am building the workbook in XL XP, the

solution needs to
also work in '97 and 2000 if possible due to the users

requirements.
Regards
Colin Foster


.

 
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
Password protection in macro ( Anybody can view my password in VB Sherees Excel Discussion (Misc queries) 2 January 24th 10 10:05 PM
how do I write a request to 'Save As' Macro CRAIG K[_2_] Excel Discussion (Misc queries) 5 March 10th 08 01:31 PM
How to see macro code of a password protected macro without a password? Dmitry Kopnichev Excel Worksheet Functions 5 October 27th 05 09:57 AM
How Delete Network Password Request-Worksheet in Website brsscreen Excel Worksheet Functions 0 December 14th 04 07:47 PM
Request password during Protect macro Gavin[_5_] Excel Programming 6 November 11th 03 12:54 PM


All times are GMT +1. The time now is 09:57 AM.

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"