03-03-2014, 06:50 PM
Noobie here, non-programmer.
Please help me understand my error in this macro. It is intended to produce the current date with format 2014-0303. Thank you!
The error message says
Error in yyyy-MMdd: syntax.
-------
EDIT: Ok, now I realize that the error is in the third line. So my new question is "How can I output the formatted date (or any string variable) as text?"
-------
EDIT 2: Got it (condensing the last two lines into one):
Please help me understand my error in this macro. It is intended to produce the current date with format 2014-0303. Thank you!
The error message says
Error in yyyy-MMdd: syntax.
-------
EDIT: Ok, now I realize that the error is in the third line. So my new question is "How can I output the formatted date (or any string variable) as text?"
-------
EDIT 2: Got it (condensing the last two lines into one):