Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
yes it is cool thank you because it works but when I try to call this
sub. I have an error run-time 91 error run-time error 91 object variable or with block variable not set do you know why? Option Explicit Sub test() Dim oExec As Object Set oExec = OpenPHObject() Application.Wait (Now + TimeValue("0:00:10")) Call CHObject(oExec) End Sub Function ClosePHObject(oExec As Object) Dim WshShell As Object 'oExec.Quit oExec.Terminate Set WshShell = Nothing Set oExec = Nothing End Function |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How To CreateObject In VB To AutoCad | Excel Programming | |||
Createobject (repost) | Excel Programming | |||
CREATEOBJECT Using VB | Excel Programming | |||
Difference between NEW and CREATEOBJECT? | Excel Programming | |||
Templates and CreateObject | Excel Programming |