L
Lars Uffmann
Hi everyone, simple question and I'm hoping there's a simple answer:
I have a date column A (double value), and I need it formatted in column
B for output to a text file. I'd like to do the equivalent of
Range("B:B").Formula = "Format(RC1, ""YYYY-DD-MM\Thh:mm:ss"")"
Sadly, Excel will not have the Format function in a cell. It's kinda
ridiculous that I fail to do what I want, because setting the columns
Range("A:A").NumberFormat = "YYYY-DD-MM\Thh:mm:ss"
does exactly what I want, except that it does not store the formatted
string in the cells value.
Is there any way to assign this formatted value as the .value to another
cell? Or does someone know a workaround?
Thanks in advance!
Lars
I have a date column A (double value), and I need it formatted in column
B for output to a text file. I'd like to do the equivalent of
Range("B:B").Formula = "Format(RC1, ""YYYY-DD-MM\Thh:mm:ss"")"
Sadly, Excel will not have the Format function in a cell. It's kinda
ridiculous that I fail to do what I want, because setting the columns
Range("A:A").NumberFormat = "YYYY-DD-MM\Thh:mm:ss"
does exactly what I want, except that it does not store the formatted
string in the cells value.
Is there any way to assign this formatted value as the .value to another
cell? Or does someone know a workaround?
Thanks in advance!
Lars