Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Password Macro

Hi People,

How can I get to a macro to ask for a password before it start
running. For example;
I start the macro,
then a pop-up box shows where I can type the password,
Press enter and macro starts.


Please help.

Stephe

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Password Macro

that is exactly how you would do it. Write the code in the macro to do
exactly that. What help are you looking for?

--
Regards,
Tom Ogilvy

"Stephen " wrote in message
...
Hi People,

How can I get to a macro to ask for a password before it starts
running. For example;
I start the macro,
then a pop-up box shows where I can type the password,
Press enter and macro starts.


Please help.

Stephen


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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Password Macro

How do I get the box where I can type in the password? Also that it
check the password before going on.

Stephen


Tom Ogilvy wrote:
*that is exactly how you would do it. Write the code in the macro to
do
exactly that. What help are you looking for?

--
Regards,
Tom Ogilvy

"Stephen " wrote in message
...
Hi People,

How can I get to a macro to ask for a password before it starts
running. For example;
I start the macro,
then a pop-up box shows where I can type the password,
Press enter and macro starts.


Please help.

Stephen


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



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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Password Macro

ooops, i forgot to remove the line
Msgbox True
in the code of the Sub MyMacro()
--
Regards,
Sébastien
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Password Macro

Hi

The code works great! Thanks for help:-))


Stephen

-Originally posted b
sebastienmǛjbzy.²Ȩɢrº,¡\ -
*ooops, i forgot to remove the line
Msgbox True
in the code of the Sub MyMacro()
--
Regards,
Sébastien


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



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Password Macro

Stephen,


Check this attachment. You may find it useful.


Charle

Attachment filename: hideunhide.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=62006
--
Message posted from http://www.ExcelForum.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
Password protection in macro ( Anybody can view my password in VB Sherees Excel Discussion (Misc queries) 2 January 24th 10 10:05 PM
Macro (password) Mike Excel Discussion (Misc queries) 6 December 25th 09 01:25 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
Macro Password Ryan Coutinho Excel Programming 2 May 21st 04 09:45 AM
Macro-password DJ Excel Programming 2 February 19th 04 02:38 PM


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