Hi team,
Can anyone please help me to solve the below query.
I would like to open Baan4 application using its class name (Refer Attachment) through VBA, but every time I get "ActiveX component can't create object" error message.
Code:
Sub OpenBaan()
Dim Baanobj As Object
Set Baanobj = CreateObject("Baan4.Application.AS1Live")
Set Baanobj = Nothing
End Sub
I went through some codes and finally found to open Baan software by using below code, but I am not able to proceed further to access the next session(ttdsk2003m000),
Code:
Sub Auto_Open()
Dim x As Variant
Dim Path As String
Path = "C:\Program Files\Baan\Baan IV\bin\bw.exe"
x = Shell(Path, vbNormalFocus)
End Sub
Please advise on how to solve this, thanks.
Regards,
Kevin :)
Can anyone please help me to solve the below query.
I would like to open Baan4 application using its class name (Refer Attachment) through VBA, but every time I get "ActiveX component can't create object" error message.
Code:
Sub OpenBaan()
Dim Baanobj As Object
Set Baanobj = CreateObject("Baan4.Application.AS1Live")
Set Baanobj = Nothing
End Sub
I went through some codes and finally found to open Baan software by using below code, but I am not able to proceed further to access the next session(ttdsk2003m000),
Code:
Sub Auto_Open()
Dim x As Variant
Dim Path As String
Path = "C:\Program Files\Baan\Baan IV\bin\bw.exe"
x = Shell(Path, vbNormalFocus)
End Sub
Please advise on how to solve this, thanks.
Regards,
Kevin :)