PDA

View Full Version : Solved: Leading Zeros Truncated



murfyang
04-06-2008, 08:36 PM
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

tpoynton
04-07-2008, 01:55 PM
why not:

pword = TextBox1.Value

murfyang
04-07-2008, 06:19 PM
thanks greatly, solved!