View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
43fan 43fan is offline
external usenet poster
 
Posts: 32
Default Pad with leading zeros?

I have a string that's made up of concatenating other variables together,
one of which is a numerical value. I want to put leading zeros on the
numeric value, up to a full string length of 3.

Ex:
A = Y (string)
B = 1234 (string)
C = 1 (numeric)
A B C
Final string would look like this: Y1234.001

Help???

Thanks!
Shawn