J
John
Office Professional 2003
I have a WebBrowser control called ctlWebBrowser in a Word form.
It gives a runtime error of Method ExecWB of object failed.
Private Sub btnTransfer_Click()
Call ctlWebBrowser.ExecWB(OLECMDID_OPEN, OLECMDEXECOPT_PROMPTUSER)
End Sub
It also doesn't like
Call ctlWebBrowser.ExecWB(cmdID:=OLECMDID_SELECTALL,
cmdexecopt:=OLECMDEXECOPT_DONTPROMPTUSER)
Is there something I need to setup to make the ExecWB work? Thanks
I have a WebBrowser control called ctlWebBrowser in a Word form.
It gives a runtime error of Method ExecWB of object failed.
Private Sub btnTransfer_Click()
Call ctlWebBrowser.ExecWB(OLECMDID_OPEN, OLECMDEXECOPT_PROMPTUSER)
End Sub
It also doesn't like
Call ctlWebBrowser.ExecWB(cmdID:=OLECMDID_SELECTALL,
cmdexecopt:=OLECMDEXECOPT_DONTPROMPTUSER)
Is there something I need to setup to make the ExecWB work? Thanks