Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Please need HELP - Need to add and INPUT BOX so that users need to enter a PASSWORD to use a workbook

I have an application that I would like to add a password input box.
The box would appear on the screen when a workbook is opened and the
user would have to enter a password to be able to use the workbook.
The password entry box would contain two buttons:

SUBMIT - Submits the password
CANCEL - This would close the workbook without saving.

The password would be written into the workbook (most likely in the
first spreadsheet) and the user would have to enter the password that
matches. If the password is incorrect then the workbook would display
a message box with a message like, "Sorry, but you have entered an
incorrect password. Please re-enter the correct password." The user
would be able to close this message box and try re-entering the
workbook.

I would be most grateful if you could let me know what VBA code I
would need to write to accomplish the above.

Please respond via email:

Thank you so much.

Marcello
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default Please need HELP - Need to add and INPUT BOX so that users need to enter a PASSWORD to use a workbook

This question was answered yesterday. Simply save the
workbook password protected.

Replies to NewsGroup not direct - this is a forum for
sharing information

-----Original Message-----
I have an application that I would like to add a

password input box.
The box would appear on the screen when a workbook is

opened and the
user would have to enter a password to be able to use

the workbook.
The password entry box would contain two buttons:

SUBMIT - Submits the password
CANCEL - This would close the workbook without saving.

The password would be written into the workbook (most

likely in the
first spreadsheet) and the user would have to enter the

password that
matches. If the password is incorrect then the workbook

would display
a message box with a message like, "Sorry, but you have

entered an
incorrect password. Please re-enter the correct

password." The user
would be able to close this message box and try re-

entering the
workbook.

I would be most grateful if you could let me know what

VBA code I
would need to write to accomplish the above.

Please respond via email:

Thank you so much.

Marcello
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Please need HELP - Need to add and INPUT BOX so that users need to enter a PASSWORD to use a workb


What's wrong with the buiklt in functionality? When saving click on
Tools or Options and you can enter a password to open or password to
modify.


---
~~ 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
how do I set up an input calendar for users in excel MikeL Excel Discussion (Misc queries) 1 February 23rd 10 09:54 AM
users must enter value = or than a certain value springtimetigger Excel Worksheet Functions 3 October 31st 08 05:28 PM
Shared Workbook Ability For Users To Enter New Records. Rich In Pgh Excel Discussion (Misc queries) 1 September 22nd 06 04:28 PM
How to keep users from entering a password on a shared workbook? alady31 Excel Discussion (Misc queries) 1 March 24th 05 05:19 PM
one line macro to enter password for workbook N Lenox Excel Programming 5 October 29th 03 08:36 PM


All times are GMT +1. The time now is 02:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"