I am looking to create a Table on Excel with dynamic Rows and Columns.
However, I am facing a problem for which I can’t find a solution. It is certainly a minor problem but I need your help.
I have followed the example that has been proposed here: How to structure the excel data as Table and give it a Table Name?
Unfortunately, it generates this error.
“A@” is generated on this Activity : Convert.ToChar(Convert.ToUInt32("A"C)+Colcount-1)
If Colcount is 27, Convert.ToChar(Convert.ToUInt32("A"C)+Colcount-1) will return not "@" but "[".
Can you share your expressions after the above?
Or, I recommend to use UiPath.Excel.Helpers.ExcelUtilities.ConvertColumnIndexToColumnLetter method.
This returns column letter from R1C1 style column index.
For example UiPath.Excel.Helpers.ExcelUtilities.ConvertColumnIndexToColumnLetter(27) returns "AA"