Converting date in VBA Excel
Solved/Closed
Related:
- Converting date in VBA Excel
- Number to words in excel formula without vba - Guide
- Vba case like - Guide
- How to change date format in excel - Guide
- Gif in excel - Guide
- How to open vba in excel - Guide
3 responses
I dont know how to do that in VB code but you can use such a formula
=B1&"/"&C2&"/"&A2
and change the format of the cell to date
I hope it helps.
=B1&"/"&C2&"/"&A2
and change the format of the cell to date
I hope it helps.
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Dec 28, 2010 at 09:32 AM
Dec 28, 2010 at 09:32 AM
Hi Roger,
Looking for something like this:
Trowa
Looking for something like this:
ActiveCell.Formula = "=DATE(A2,B2,C2)"Best regards,
Trowa