Hi,
for a number of a circumstances I am trying to read from excel files as if they are databases to use the recordset in a VBA macro.
it all goes nice and well, but I cannot use fieldnames on my query, I have to use SELECT * FROM ...
and then use fieldIndex when extracting information with getRows(fields:=fA) where fA is a field index array
I have tried puting names in brackets [], forward ticks, `` and nothing at all but nothing seems to work.
however, I do have managed to use field names in queries of querytables
but have no idea how to achieve the same in code
with the macro recorder I did get something as follows
Anyone can iluminate me?
Thank you!
Bookmarks