Need to read all the values which is available in a single row from excel file

HI ,


I need a way to read all the values of a header row from excel. Here I cannot use cell_Read functions ,

because no of columns can vary 


Thanks


Hi Pasupathi,  

Please have a look at this document and see if you can use the "Columns" property of the Worksheets Dimension (to get the number of columns ) before using cell_Read.

 -cezarF

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.