T
Trefor
I have the following code in a VBS, but Outlook is not starting. Am I missing
something?
Dim ObjOL
Set ObjOL= GetObject("Outlook.Application")
If Err <> 0 then
Err.Clear
Set ObjOL= CreateObject("Outlook.Application")
End If
I have also tried similar code from VBA and this does not work either and
there are no errors in VBA to give me a clue.
something?
Dim ObjOL
Set ObjOL= GetObject("Outlook.Application")
If Err <> 0 then
Err.Clear
Set ObjOL= CreateObject("Outlook.Application")
End If
I have also tried similar code from VBA and this does not work either and
there are no errors in VBA to give me a clue.