Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
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
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|excel 2013 keeps||4||30|
|Excel Auto-Complete lines||4||32|
|VBA to trim leading and trailing spaces in all sheets of active workbook.||2||18|
|can anyone please help me fix the debug error on this VBA Excel file?||3||15|
Join the community of 500,000 technology professionals and ask your questions.