I try to get all of those columns and return as array.
if someone don’t clear what is my purpose i explain here …
for now i have to create them all target columns are like this
imagine if we have too much longer … might be the last will be KA, KB, KC, …
that mean not convenient for dev and not dynamically concept that we learning for.
Thank you very much for any solution and big thanks for and example coding to easy to understand.
Rugpong
Actually in my excel data don’t have columns name. that why i cannot specific anything
for example the fist one excel has a A - IF columns maybe another one file it might be has A - AK …
that mean you never know how many columns inside the file that why i tries to find the way to read columns in dynamically.
good idea but how can i deal with dynamic columns example you set range to 1,100 but actually in the file we have 105 columns or another file is 107 columns. Thanks