Re: $$Excel-Macros$$ Database Query Macro- Password Prompt - Excel

2014-02-28 Thread ashish koul
try ths http://www.mrexcel.com/forum/excel-questions/548342-embed-password-visual-basic-applications-odbc-connection.html On Wed, Feb 26, 2014 at 7:59 PM, pranav patil wrote: > I have created an Excel sheet that retrieves data from a ODBC source. I > have created a macro using macro recorder to

$$Excel-Macros$$ Database Query Macro- Password Prompt - Excel

2014-02-26 Thread pranav patil
I have created an Excel sheet that retrieves data from a ODBC source. I have created a macro using macro recorder to refresh the data by re-connecting to the database. However, the connection requires a password prompt and when the macro is run, you are still required to enter the password. I