so Im working in a CSV File that have some columns with more than 15 number characters, and dates, and Strings
I use the import CSV action and then I want To format the current sheet, so I Try to make a code Stage to "Format" Those columns, I have wrote the code on VBA it works with a macro, but I dont wan to to use macro along with blue prism
theres my code
Sub Macro1()
Dim C As Integer
For i = 1 To ActiveSheet.UsedRange.Columns.Count
ActiveSheet.Cells(3, i).Select
If IsNumeric(Selection) Then
Columns(i).NumberFormat = "###,###,###,###.###,##0.00"
ElseIf WorksheetFunction.IsText(Selection) Then
Columns(i).NumberFormat = "@"
ElseIf IsDate(Selection) Then
Columns(i).NumberFormat = "yyyy-MM-dd hh:mm:ss.0"
End If
Next
End Sub
How can I properly "translate" that code into blue prism?
I keep getting erros like Columns needs to be declared, etc
I'll appreciate some tips or help
Thanks!!!
------------------------------
Luz Benitez
------------------------------