Hi all,
I have a problem using dates (month) and (Year)
I have a calc sheet that i am using as in invoice form and want to save the invoice with a saveasURL from a macro
all of this works ok, but i have a problem is with the URL based on cell A4
A1 I have made as the invoice date, say 24/1/17 and is formated as date.
A2 I have made =month(A1) and is formated as date and displays JAN.
A3 i have made =Year(A1) and is formated as date and displays 2017.
all is good upto this point, now the problem.
A4 is a cell that a saveasURL in a macro references, I am trying to incorporate cells A2 and A3 into the URL
it looks somthing like this ="//documents/invoice"&"/"&A3&"/"&A2&"/"&“myinvoice.ods”
what i would like is the URL to look like is //documents/invoice/2017/Jan/myinvoice.ods
but what i get is //documents/invoice/42759/42759/myinvoice.ods
I have tried formating A4 as date and anything else i could think with no luck.
is there any way of making cell A4 displaying properly
Thanks in advance Neil