Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Password To Open Spreadsheet Used as Variable in VB Code or Macro

I would like to set a variable to be 1 of 7 values based on what password is
used to open a spreadsheet. Does any know if this is possible?? If so,
please provide some helpful hints.

Thanks for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Password To Open Spreadsheet Used as Variable in VB Code or Macro

How do you set more than one password to open a workbook?

Or do you mean password after opening?

Like a password to access a certain sheet in the workbook?


Gord Dibben MS Excel MVP

On Tue, 16 Mar 2010 14:12:02 -0700, DogLover
wrote:

I would like to set a variable to be 1 of 7 values based on what password is
used to open a spreadsheet. Does any know if this is possible?? If so,
please provide some helpful hints.

Thanks for your help.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Password To Open Spreadsheet Used as Variable in VB Code or Ma

Now that you mention it, I probably can only use 1 password to open the
workbook. Would the be a way to have the user have to type in a password on
the open event, and then pass this as a public variable that could then be
used?

"Gord Dibben" wrote:

How do you set more than one password to open a workbook?

Or do you mean password after opening?

Like a password to access a certain sheet in the workbook?


Gord Dibben MS Excel MVP

On Tue, 16 Mar 2010 14:12:02 -0700, DogLover
wrote:

I would like to set a variable to be 1 of 7 values based on what password is
used to open a spreadsheet. Does any know if this is possible?? If so,
please provide some helpful hints.

Thanks for your help.


.

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 to open Excel spreadsheet when forgotten password Glenys693 Excel Discussion (Misc queries) 0 March 26th 06 11:49 PM
How to open Excel spreadsheet when forgotten password bigwheel Excel Discussion (Misc queries) 0 March 26th 06 11:43 PM
How can I open an excel spreadsheet if I forgot the password? SheppyShep Excel Worksheet Functions 1 October 1st 05 01:19 AM
open excel spreadsheet with password rocket0612[_3_] Excel Programming 1 July 6th 05 11:13 AM
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? oil_driller Excel Discussion (Misc queries) 1 February 8th 05 09:34 AM


All times are GMT +1. The time now is 10:07 AM.

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"