Hi All,
My macro currently pastes dates in column 'G' with format mm/dd/yy and I need to change it to dd/mm/yy.
Can anyone suggest the line of code required.
Here is the current code:
If
Cells(IntCounter, 6).Value = "No" Then
If IsError(Application.Match(Cells(IntCounter, 2), Sheets("Test").Columns("B"), 0)) Then
Rows(IntCounter).Cut Destination:=Sheets("Test").Range("A" & Rows.Count).End(xlUp).Offset(1)
Sheets("Test").Range("G" & Rows.Count).End(xlUp).Offset(1).Value = Date
End If
Thanks
My macro currently pastes dates in column 'G' with format mm/dd/yy and I need to change it to dd/mm/yy.
Can anyone suggest the line of code required.
Here is the current code:
If
Cells(IntCounter, 6).Value = "No" Then
If IsError(Application.Match(Cells(IntCounter, 2), Sheets("Test").Columns("B"), 0)) Then
Rows(IntCounter).Cut Destination:=Sheets("Test").Range("A" & Rows.Count).End(xlUp).Offset(1)
Sheets("Test").Range("G" & Rows.Count).End(xlUp).Offset(1).Value = Date
End If
Thanks