okalinic
(Okalinic)
1
Hi.
How can I convert text columns into number

I’m using this macro for formating column E
Sub macro()
[E:E].Select
With Selection
.NumberFormat = “#,###0.00”
.Value = .Value
End With
end sub
and it is formated well, but just after clicking excel cell.
How can I force data table to format text data to number when writing to excel?
lrtetala
(Lakshman Reddy)
3
Hi @okalinic
Can you try with Format Cells activity
Regards,
Botzilla
(Edwin)
4
May not work for all use cases, but have you tried creating a pre-formatted spreadsheet and using it as a template?
Said that, I think the solution provided by @lrtetala is also a good choice.
okalinic
(Okalinic)
5
I’ve tryed, but not working…Format is OK only after I click excel cell and it’s still showing “Number sored as Text” message…
okalinic
(Okalinic)
6
Not possible as I am using dinamic creating of Excel files…
okalinic
(Okalinic)
7
I’ve tryed this suggestion too, but it doesn’t work either… Formating is visible only after clicking excel cells…