The brief script
below is copied and pasted from the Online Docs.
It delivers a
compile error on the first line:
"User defined type not defined"
Anyone know what is
missing ??
***************************************************************************
Dim Web as
CWebBrowser 'Note 1 <----------compile error
here
Sub
Script()
On Error GoTo scripterrors 'Note 3
On Error GoTo scripterrors 'Note 3
Set Web = WBConnect 'Note 2
'
start script commands here <-------my script code is
here
Exit Sub
scripterrors:
If Err = seDoevents Then DoEvents: Resume 'Note 4
If Err = seTimeout Then Web.Note = "Timeout" 'Note 5
If Err = seHalt Then Web.Note = "Halted" 'Note 6
Err.Raise Err
End Sub
scripterrors:
If Err = seDoevents Then DoEvents: Resume 'Note 4
If Err = seTimeout Then Web.Note = "Timeout" 'Note 5
If Err = seHalt Then Web.Note = "Halted" 'Note 6
Err.Raise Err
End Sub
