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

I am wondering if there is a way (I assume it wont be easy) to hide a
password, or otherwise get a password out of Excel. Im thinking of doing
something with a call to a web server, perhaps. I know password security is
pretty feeble in Excel, so I am curious, and basically hopeful for a
solution, but Im not holding my breath on this one.

Thanks,
Ryan---


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default Hide a Password

You could hard code it and lock up your code with a password, ensuring any
Sub of Function that might give away the password is private so it cannot be
called from the VBA toolbar.

For example, you can use the following in your module but you cannot see it
in the list of available user functions using Insert, Function, User defined
category (XL2003).

Private Function MyPW()
Const YourPW = "yourPassword"
MyPW = YourPW
End Function


Having said that, I would opt for InputBox to grab it on the fly! However,
MyPW = InputBox("Enter Password") leaves the password visible. Here is a way
around this:

http://www.xcelfiles.com/API_09.html

If this doesn't work, try:

http://www.experts-exchange.com/Micr..._20949769.html

Don't ask me to explain and of it - it is beyond my comprehension <bg

--
Steve

"ryguy7272" wrote in message
...
I am wondering if there is a way (I assume it wont be easy) to hide a
password, or otherwise get a password out of Excel. Im thinking of doing
something with a call to a web server, perhaps. I know password security
is
pretty feeble in Excel, so I am curious, and basically hopeful for a
solution, but Im not holding my breath on this one.

Thanks,
Ryan---


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Hide a Password

Thanks AltaEgo!! Anyone else?
Ryan---
--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"AltaEgo" wrote:

You could hard code it and lock up your code with a password, ensuring any
Sub of Function that might give away the password is private so it cannot be
called from the VBA toolbar.

For example, you can use the following in your module but you cannot see it
in the list of available user functions using Insert, Function, User defined
category (XL2003).

Private Function MyPW()
Const YourPW = "yourPassword"
MyPW = YourPW
End Function


Having said that, I would opt for InputBox to grab it on the fly! However,
MyPW = InputBox("Enter Password") leaves the password visible. Here is a way
around this:

http://www.xcelfiles.com/API_09.html

If this doesn't work, try:

http://www.experts-exchange.com/Micr..._20949769.html

Don't ask me to explain and of it - it is beyond my comprehension <bg

--
Steve

"ryguy7272" wrote in message
...
I am wondering if there is a way (I assume it wont be easy) to hide a
password, or otherwise get a password out of Excel. Im thinking of doing
something with a call to a web server, perhaps. I know password security
is
pretty feeble in Excel, so I am curious, and basically hopeful for a
solution, but Im not holding my breath on this one.

Thanks,
Ryan---


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.



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
Hide a column using a password shapiro Excel Discussion (Misc queries) 2 February 23rd 07 09:05 PM
hide column with password checkQ Excel Discussion (Misc queries) 5 February 11th 07 09:39 PM
how to hide raws and use password speedo Excel Discussion (Misc queries) 0 February 1st 06 03:34 PM
How do I hide a worksheet in Excel and use a password to un-hide . Dchung Excel Discussion (Misc queries) 3 December 2nd 04 06:24 AM
Excel password but cant hide the sheets before entering password cakonopka[_3_] Excel Programming 1 January 30th 04 06:28 PM


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