Hi there,
how do i add in the password in this code? so that when i run this sql query in my macro it will stop prompting me for my password.
Thanks in advanced =D
how do i add in the password in this code? so that when i run this sql query in my macro it will stop prompting me for my password.
Code:
With ActiveSheet.QueryTables.Add(Connection:= _
"ODBC;DSN=data1;Description=data1;UID=user;;APP=Microsoft Office 2003;WSID=user;DATABASE=database1" ......
Thanks in advanced =D