Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,616
- Office Version
- 365
- 2016
- Platform
- Windows
I am trying to put a number value converted from a text value (Me.empl_no2.Value) into a cell with the format of "00000" with this line of code ...
All I am getting in the cell is '0', not '00000'.
Where have I gone wrong.
Code:
.Cells(lr_orp, 22) = Format(CLng(Me.empl_no2.Value), "00000")
All I am getting in the cell is '0', not '00000'.
Where have I gone wrong.