Good Morning! Well last night was uneventful which……….I am ok with! Moving, kids, vacation planning, job stuff…..it was time to just sleep.
Anyway, I want to run a macro in an MS Access application from a vb.net application. Not complicated stuff but it is what I have for today. Have a great weekend!
Private Sub RunMacro(ByVal sMacro As String)
Dim oAccess As Object
oAccess = CreateObject("Access.Application")
‘ Open the database
oAccess.Visible = True
Catch e As Exception
MsgBox("Macro is cancelled or does not exist")
oAccess = Nothing