Hello everyone!
I would like to ask You for help. I want to import data from text file into sheet using SQL (ADO).
If You click black button in Excel file, data from text file will be imported. Problem appears when instead sql query "select * from abc.txt" I want to use following "Select * from abc.txt where a like 'Region*' " or "Select * from abc.txt where b>=2". I don't know why macro doesn't give any data based on these sql queries.
If You can help me I' d be delight :)
Regards.
I would like to ask You for help. I want to import data from text file into sheet using SQL (ADO).
If You click black button in Excel file, data from text file will be imported. Problem appears when instead sql query "select * from abc.txt" I want to use following "Select * from abc.txt where a like 'Region*' " or "Select * from abc.txt where b>=2". I don't know why macro doesn't give any data based on these sql queries.
If You can help me I' d be delight :)
Regards.