Hi,
Part of of the VBA code that I have is to set up a formated current date in G2. The code that I have is:
Range(“G2”) = “=now()”
Range(“G2”).NumberFormat = “d-mmm-yyyy, h:mm AM/PM”
Range(“G2”).Value = Range(“G2”)
This works, but I’m sure there is a better way to do this and in a single line of code. Can anyone help me figure it out?