dhancy
Board Regular
- Joined
- Jul 10, 2013
- Messages
- 123
- Office Version
- 365
- Platform
- Windows
I have a VBA script that have been using for several years to connect to our Oracle database. It looks like this:
It has always worked flawlessly until our agency made a change. We are now using a single sign-in approach for Oracle. The user name is EXTERNAL and the password is blank. Authentication is now performed externally based on our windows sign in.
What syntax changes are needed in the above code when the password is blank/null?
Thank you!
Dennis
VBA Code:
With ActiveSheet.ListObjects.Add(SourceType:=0, Source:= _
"OLEDB;Provider=OraOLEDB.Oracle; Password=myPW; User ID=myUser; Data Source=myDB", _
Destination:=Range("$A$1")).QueryTable
It has always worked flawlessly until our agency made a change. We are now using a single sign-in approach for Oracle. The user name is EXTERNAL and the password is blank. Authentication is now performed externally based on our windows sign in.
What syntax changes are needed in the above code when the password is blank/null?
Thank you!
Dennis