nissan240zx
Programmer
Hello All,
I am running a access macro in my vb code.
I want to run 3 macros similar to this in one code...
Please advice...
Thanks in advance...
A good programmer is someone who looks both ways before crossing a one-way street. - Doug Linder
I am running a access macro in my vb code.
Code:
'Macro start to do the import to the Raw table - Start
txtStream.WriteLine "Thor Macro Start" & CStr(Now) & vbCrLf
Dim accobj As Access.Application
Set accobj = CreateObject("Access.Application")
' Set database path to web folder on IOSC Web
accobj.OpenCurrentDatabase ("C:\ThorVivek\Backend.mdb")
accobj.DoCmd.RunMacro ("Process")
accobj.CloseCurrentDatabase
Set accobj = Nothing
txtStream.WriteLine "Thor Macro End" & CStr(Now) & vbCrLf
'Macro start to do the import to the Raw table - End
I want to run 3 macros similar to this in one code...
Please advice...
Thanks in advance...
A good programmer is someone who looks both ways before crossing a one-way street. - Doug Linder