+ Reply to Thread
Results 1 to 5 of 5

Numeric values not being recognize on password

  1. #1
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    Numeric values not being recognize on password

    hi,

    yesterday shg was able to help me solve this worksheet program. The problem I currently have is all numeric values only are not being recognized on my password column. I have tried changing the cell formats but still problem still there. The program work if an alphanumeric value is declared as password. However if you simply indicate plain numeric values only as password, it returns incorrect values, it like it doesn;t recognize all numeric values. Also how can I make 0000 as a declared password? when I place 0000 on my password column, only one zero value is being displayed instead of four another thing if I happen to place 0123 only 123 is being displayed. Any one please help? I have attached my workbook which has the problem

    Thanks,
    Stoey
    Attached Files Attached Files
    Last edited by VBA Noob; 11-27-2008 at 03:24 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Use '0000 to enter the digits as text. See if that solves the recognition issue, too.

    EDIT: It tried that on your sheet and it works great. Use the apostrophe to preface numeric strings to enter them as text.
    Last edited by JBeaucaire; 11-27-2008 at 02:12 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362
    hi JB,

    I tried that actually before and it did work, but my apprehension is that when I declare it as text, the numeric values on password column has this green mark inside the cell above it. When I click that green mark, it displays an exclamation mark with the following choices like Stored as Text, convert to number etc... will this not affect the flow of the program as it is being use? Will it not create a conflict?

    Thanks,

    Stoey

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    No. That's just Excel trying to warn you if you enter a cell format different from the ones nearby. I wouldn't fret it if you do it on purpose.

    If it really bugs you, you can enter ALL the passwords with the apostrophe leader.

  5. #5
    Forum Contributor
    Join Date
    08-07-2008
    Location
    United States
    MS-Off Ver
    Microsoft Office 2003
    Posts
    362

    Solve

    got it...thanks jb...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1