Hi all, @Palaniyappan
when i am trying to get the columns count dt.Columns.Count.ToString its giving count 16384
but i have a data in 42 columns , i think it including empty columns as well.
Can any one help how to get actual columns count with data.
Hi
This looks strange
Fine may I know what is the range mentioned in the read range activity
Kindly restart both the excel and uipath studio application once and try again pls
This expression you have used should work for sure
fine let’s validate like this
Go to excel keep the cursor in first cell A1 and press ctrl+A if only the columns with data gets selected then we are good
Or if the whole excel gets selected then we need to check with excel that it has occupied all columns in excel
Cheers @Naveen.Ch
Hi @Naveen.Ch
This expression is working fine for me if I have no borders around empty cells. The empty cells are being stored in DataTable as Column1, Column2 , and so on.
So you can create and use a flowchart similar to the following to count non-empty columns
Hello @Naveen.Ch
This is because the DataTable still contains empty columns. Try filtering DataTable by removing the columns that have ‘Column*’ in their headers/column name. And then doing other operations.