N nani New Member Jun 17, 2015 #1 I wrote VBA code in such a way , connect sql DB and run query which is hard-coded and print data in excel. now i want macro to read .sql file , execute and print data in excel can any one please help me on this.. Attachments Code.txt Code.txt 945 bytes · Views: 7
I wrote VBA code in such a way , connect sql DB and run query which is hard-coded and print data in excel. now i want macro to read .sql file , execute and print data in excel can any one please help me on this..
N NARAYANK991 Excel Ninja Jun 22, 2015 #5 Hi , Have you seen this link : http://www.vb-helper.com/howto_sql_script.html Narayan
Deepak Excel Ninja Jun 22, 2015 #6 Cross Posted!! http://stackoverflow.com/questions/30892927/how-to-read-sql-file-using-excel-macro-and-execute
Cross Posted!! http://stackoverflow.com/questions/30892927/how-to-read-sql-file-using-excel-macro-and-execute