Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Oracle connection

Status
Not open for further replies.

Ucaihc

Programmer
Aug 2, 2006
35
US
I have an Excel app that populates some cells using Microsoft query to get data from an Oracle database. The problem is that when I run the macro that uses the query, I am always prompted for the
Oracle database userid and password. How do I code that in the application so I am not asked for it.
Or, what else can I do so I am not asked for these things?
 
Set the SavePassword property of the QueryTable to True, or right click the data range and modify the relevant property.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top