Hello again,
I'm ready to pull my hair out. I have a user form where an end user can select a CSV file and then pick a tab from a drop down list and have that file appended to that tab. It works just fine. I have 3 columns that need to be 5 digits so 3 needs to be 00003. I have tried so many different combinations and nothing works. Here is my latest attempt which found elsewhere:
I'm willing to try anything.
Jeff
I'm ready to pull my hair out. I have a user form where an end user can select a CSV file and then pick a tab from a drop down list and have that file appended to that tab. It works just fine. I have 3 columns that need to be 5 digits so 3 needs to be 00003. I have tried so many different combinations and nothing works. Here is my latest attempt which found elsewhere:
Code:
For Each c In Range("B:B")
If c = "" Then GoTo nextc
If IsCustom(c) Then
c.Value = c.Value * 1
c.NumberFormat = "00000"
End If
nextc:
Next c
I'm willing to try anything.
Jeff