JumboCactuar
Well-known Member
- Joined
- Nov 16, 2016
- Messages
- 788
- Office Version
- 365
- Platform
- Windows
Hi,
this only happens with numbers that look like a date:
I have data like this:
1 to 9
10 to 12
13 to 15
17 to 19
Now i need it to look like
1 - 9
10 - 12
13 - 15
17 - 19
Problem is with the first two, get converted to01-Sep and 10-Dec
this is what ive tried:
any help appreciated
this only happens with numbers that look like a date:
I have data like this:
1 to 9
10 to 12
13 to 15
17 to 19
Now i need it to look like
1 - 9
10 - 12
13 - 15
17 - 19
Problem is with the first two, get converted to01-Sep and 10-Dec
this is what ive tried:
Code:
Range("A2:A1000").NumberFormat = "@"
frm1 = "to"
to1 = "-"
Columns("A").Replace what:=frm1, replacement:=to1, lookat:=xlPart, MatchCase:=False
any help appreciated