Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
Dim wrkODBC As Workspace Dim conORAP039 As Connection Function Some_Function() SetConnectionObject 'Run GetVehicleModels_Connection query "VEHICLE_MODEL" on 'Lists' worksheet Sheets("Lists").Range("A1").QueryTable.Refresh BackgroundQuery:=False End Function Private Sub SetConnectionObject() ' Create ODBCDirect Workspace object and open Connection objects. Set wrkODBC = CreateWorkspace("NewODBCWorkspace", "xxxxxx", "xxxxxx", dbUseODBC) Workspaces.Append wrkODBC ' Note: The DSNs referenced below must be configured to ' use Microsoft Windows NT Authentication Mode to ' authorize user access to the Microsoft SQL Server. Set conORAP039 = wrkODBC.OpenConnection("ORAP039", dbDriverNoPrompt, True, _ "ODBC;DATABASE=ORAP039;UID=xxxxxx;PWD=xxxxxx;DSN=ORAP039") End Sub
|SQL Server - Replace Carriage Returns for Excel Exports||17||49|
|Organization Chart Error||7||45|
|Select only certain columns not entire sheet||12||26|
|Manipulate Range in Excel VBA||6||21|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
12 Experts available now in Live!