I've been working with SQL and Excel Macros, but I don't know how to add text to a cell.
I wish to add the text "01/01/13 00:00"
to cell A1
. I can't just write it in the cell because the macro clears the contents of the sheet first and adds the information afterwards.
How do I do that in VBA?
Range("A1").NumberFormat = "@"
and thenRange("A1") = "01/01/13 00:00"
– user2140173