I have search this website for a code to help me but none seem to work fully. The current process I have is below. The end result in col AN should be "C"space"mm/dd/yyyy" but some are appearing as "C 44131" instead of 10/27/2020.
Col AJ is a text but not actually a date of 10/27/20
What you the experts say?? Thank you in advance for any assistance.
Col AJ is a text but not actually a date of 10/27/20
What you the experts say?? Thank you in advance for any assistance.
VBA Code:
' LocationSupp_DateFormat Macro
' Columns("AJ").Select
' Selection.NumberFormat = "General"
Columns("AV").Select
Selection.NumberFormat = "General"
Range("AU2").Select
Application.CutCopyMode = False
Range("AU2:AU" & LastRow).FormulaR1C1 = "C"
Range("AU2:AU" & LastRow).Value = Range("AU2:AU" & LastRow).Value
Range("AV2").Select
Application.CutCopyMode = False
Range("AV2:AV" & LastRow).FormulaR1C1 = "=TEXT(RC[-12],""mm/dd/yyyy"")"
Range("AV2:AV" & LastRow).Value = Range("AV2:AV" & LastRow).Value
Columns("AV:AV").Select
Selection.NumberFormat = "mm/dd/yyyy"
Range("AN2:AN" & LastRow).FormulaR1C1 = "=CONCATENATE(RC[7],"" "",RC[8])"
Range("AN2:AN" & LastRow).Value = Range("AN2:AN" & LastRow).Value