• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 44. Managing Webs with VBA > Adding and Removing FrontPage Webs Using t...

Adding and Removing FrontPage Webs Using the Webs Collection

The Webs collection is a top-level collection that enables the programmer to create and manipulate FrontPage-based web sites. The Webs collection contains the web sites that are currently opened into FrontPage. Use the item property to access the Web objects corresponding to a particular web. The item method can take either a numerical index or a string representing the URL of the target web.

The following code sample uses the item property to access a Web object for the web site at c:\my webs\mynewweb.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint