Consulting

Results 1 to 3 of 3

Thread: Solved: Leading Zeros Truncated

  1. #1
    VBAX Regular
    Joined
    Aug 2005
    Posts
    18
    Location

    Solved: Leading Zeros Truncated

    Hi there, i have this userform that prompt for password & the entry has leading zeros in it. eg: 0012345

    However, when i key in this password, the leading zeros got truncated.

    How do i set the textbox format such that the leading zeros remain.

    attached is the file.

    thanks

    murf fm S'pore

  2. #2
    VBAX Mentor tpoynton's Avatar
    Joined
    Feb 2005
    Location
    Clinton, MA
    Posts
    399
    Location
    why not:

    [vba]pword = TextBox1.Value[/vba]

  3. #3
    VBAX Regular
    Joined
    Aug 2005
    Posts
    18
    Location
    thanks greatly, solved!

Posting Permissions

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