Av8tordude
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 1,075
- Office Version
- 2019
- Platform
- Windows
I want to format the date output as "mm/dd/yy", however the code is not accomplishing what I want
Original code output display show 1/15/2019
I tried this, but nothing happens. the output display show 1/15/2019
If i change the format to mmm/dd/yy, the output display show Jan/01,19.
So clearly its doing something, just not want I want.
Can you help...thanks
Original code output display show 1/15/2019
Code:
Cells(SRow, 22) = Cells(RowNum, 3)
I tried this, but nothing happens. the output display show 1/15/2019
Code:
Cells(SRow, 22) = Format(Cells(RowNum, 3), "mm/dd/yy")
If i change the format to mmm/dd/yy, the output display show Jan/01,19.
Code:
Cells(SRow, 22) = Format(Cells(RowNum, 3), "mmm/dd/yy")
So clearly its doing something, just not want I want.
Can you help...thanks