View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
wpiet wpiet is offline
external usenet poster
 
Posts: 23
Default Accept & Use ODBC Login

How can I have a user enter login username & password to be used for multiple
ODBC connections? I have a workbook with multiple sheets, each with a DB
query. My macro steps thru each sheet, refreshing the data.
For each 'Selection.QueryTable.Refresh,' the user must re-enter id &
password. How can I modify this to have the user enter this info only once &
use it for each subsequent refresh?
--
Will