Hi,
I have this VBA code:
Now, first I would like to check how many of recordsPlease Login or Register to view this content.
returns and base on that to import/export data into excel or .csv file.Please Login or Register to view this content.
So, if COUNT of SQL statement is < 1 million THEN import data directly in current workbook but if COUNT of SQL statement is >= 1 million THEN export data into .csv file.
Any idea how to do this?
Thanks.
Bookmarks