anilraje122
New member
- Local time
- Tomorrow, 03:33
- Joined
- Aug 8, 2017
- Messages
- 1
Hi all,
How can we make Access DB offline/online which is linked to Sharepoint site using vb script ?
Using below code I'm able to run the macro but I need to make my access DB offline before proceeding with the macro. I'm struck here!
Please help me with this
Dim accessApp
set accessApp = createObject("Access.Application")
accessApp.OpenCurrentDataBase("testDb.accdb")
accessApp.docmd.runmacro "testMacro"
accessApp.Quit
set accessApp = nothing
How can we make Access DB offline/online which is linked to Sharepoint site using vb script ?
Using below code I'm able to run the macro but I need to make my access DB offline before proceeding with the macro. I'm struck here!
Please help me with this
Dim accessApp
set accessApp = createObject("Access.Application")
accessApp.OpenCurrentDataBase("testDb.accdb")
accessApp.docmd.runmacro "testMacro"
accessApp.Quit
set accessApp = nothing