abi_learn_vba
Board Regular
- Joined
- Nov 6, 2009
- Messages
- 215
Hi,
I am getting an error at the red line in my code. The error is "Object doesn't support this property or method" with Run-time error 438. The application opens but when i try to make it visible i am getting this error.
Any help..
Thanks
-Abi
I am getting an error at the red line in my code. The error is "Object doesn't support this property or method" with Run-time error 438. The application opens but when i try to make it visible i am getting this error.
Code:
Sub chks()
Dim objShell As Object
Set objShell = CreateObject("WScript.Shell")
objShell.Run "C:\infocn32\accmgr32\ACCMGR32.EXE C:\infocn32\accmgr32\IHAN-1.adp"
With objShell
[COLOR="Red"].Visible = True
[/COLOR]End With
End Sub
Any help..
Thanks
-Abi