Hi guys,
I have a line of VBA code where I copy a row of values (text, dates, numbers and currency) to another workbook:
Where column L and N are currency values.
However, when it copies across, it goes as 'number stored as text' on the currency figures?! Although, it is still formatted as currency and the whole column is formatted as currency.
Can anyone help with how to stop it from storing the currency as text please? (as it interferes with a later code to sum the currency columns!!)
Thanks,
ExcelNat
I have a line of VBA code where I copy a row of values (text, dates, numbers and currency) to another workbook:
Code:
ActiveSheet.Range("A65536").End(xlUp).Resize(, 16).Offset(1, 0).Value2 = ThisWorkbook.Sheets("COPY").Range("C55:R55").Value2
Where column L and N are currency values.
However, when it copies across, it goes as 'number stored as text' on the currency figures?! Although, it is still formatted as currency and the whole column is formatted as currency.
Can anyone help with how to stop it from storing the currency as text please? (as it interferes with a later code to sum the currency columns!!)
Thanks,
ExcelNat