ramkumarcn
Board Regular
- Joined
- Jun 21, 2011
- Messages
- 114
Hi,
I have a sql query. I want to design a VBA macro to execute the SQL query and paste the output in the excel sheet. Also it should give a message "No records found" if there are no records. Could you please help me with the code?
I have a sql query. I want to design a VBA macro to execute the SQL query and paste the output in the excel sheet. Also it should give a message "No records found" if there are no records. Could you please help me with the code?