Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Frontpage to display webpage with VBA Excel 1

Status
Not open for further replies.

rudo

Programmer
Jul 3, 2002
72
0
0
NL
Hi,
From vba Excel I would like to open Frontpage and display a webpage. I tried following, but that does not work:
Code:
Set FPApp = CreateObject("FrontPage.Application")

FPApp.Visible = True
FPApp.WindowState = fpWindowStateNormal
FPApp.Resize Width:=300, Height:=350
     
Set FPDoc = FPApp.Documents.Open(MyWebsPath & htmName)      
FPApp.Windows(MyWebsPath & htmName).Activate

Any idea how to solve this problem? Thank you very much in advance.
 
Hi PHV,

Thank you for the suggestion. You are better than Google ;-)

Greetings,

Rudo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top