Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default Oracle ODBC driver password

I have the following code setup to refresh 20 queries in my Excel file.
These queries pull data from Access. My question is: I have to enter a user
name and password for each query, is there a way to store this information in
the VBA so I don't have to enter it 20 times?

Application.DisplayAlerts = False
Sheets("Received-W").Select
Range("C8").Select
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
MsgBox ("Refresh Complete")
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle ODBC Driver Errors Excel GuRu Excel Discussion (Misc queries) 0 May 16th 08 10:05 PM
Help with SQL and ODBC Text Driver et10yl Excel Programming 1 September 28th 07 08:09 PM
Excel ODBC Driver with ADO TimG Excel Programming 3 February 16th 06 01:50 PM
Connect to Oracle using Microsoft ODBC for Oracle Kent Excel Programming 2 January 18th 06 03:53 AM
which odbc excel driver is the best? andre Excel Programming 2 June 3rd 04 06:36 PM


All times are GMT +1. The time now is 03:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"