Hi,
I am trying to use powershell to get all values in one column but the values that are returned are strange date values.
I have set the numberformat of the column to my locale date format
$ws.Range("C1").EntireColumn.NumberFormat -> ÅÅÅÅ-MM-DD (swedish for YYYY-MM-DD)
So now I thought I could get all the values but all the properties under $ws.Range("C1").EntireColumn. only shows strange date format values, not my locale date format.
Value2 : {Date, 44804, 44805, 44806…}
Formula : {Date, 44804, 44805, 44806…}
FormulaArray :
FormulaLabel :
FormulaHidden : False
FormulaLocal : {Date, 44804, 44805, 44806…}
FormulaR1C1 : {Date, 44804, 44805, 44806…}
FormulaR1C1Local : {Date, 44804, 44805, 44806…}
Value2 : {Date, 44804, 44805, 44806…}
The dates shouldn't be "44804" and so on, it should be "2012-12-03".
Numberformat property:
NumberFormat : ÅÅÅÅ-MM-DD
NumberFormatLocal : ÅÅÅÅ-MM-DD
The property "Text" is blank, that's the property I use to get individual cells. But it doesn't work with "Entirecolumn".
Any ideas on how to get all the values in the column in the correct date format?