I have managed to get a VB application to run an Excel macro using this code:
Dim oXL As Object
Set oXL = CreateObject("Excel.Application")
oXL.Workbooks.Open FileName:="Test.xls"
oXL.Application.Run "Test.xls!Module1.Macro1"
oXL.Quit
Set oXL = Nothing
Does anyone know the appropriate syntax to run an Access macro in the same way?
Dim oXL As Object
Set oXL = CreateObject("Excel.Application")
oXL.Workbooks.Open FileName:="Test.xls"
oXL.Application.Run "Test.xls!Module1.Macro1"
oXL.Quit
Set oXL = Nothing
Does anyone know the appropriate syntax to run an Access macro in the same way?