¨ FrontPage ¨ Outlook ¨
¨ Miscellaneous ¨
This website uses includes for the header and the footer. Very much like a Microsoft Word document, you can create a web page for the header only, and have each page use it. Ditto the footer. Our header and footer are very similar and contain pretty much the same content. But now you'll know how you can quickly change all the copyright statements at once on your web, or how to put your logo on every page without copy/paste.
First, create the pages. We called ours include_header.htm and include_footer.htm.
From the menu, choose InsertŕWeb Component. Choose Component type: Include, and Page as the Content type.
If you go to HTML view after doing this, you'll see the web bot that is created; ours looks like this:
Rather than go into every one of your pages and hit all those menu options, you can do a Find and Replace. Every HTML web page has a body tag:
Copy your webbot line in HTML view.
Hit Ctrl+H to bring up the Find and Replace dialog box.
Type in the text of your body tag into the Find box.
In the Replace box, type the body tag again. Immediately following it, paste your webbot text.
Choose the Find in HTML checkbox. Choose All Pages.
Hit Replace all.
OfficeArtilces.com debuted on May 26, 2005.
MrExcel.com provides examples of Formulas, Functions and Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Formulas, Functions and Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.
Access®, Excel®, FrontPage®, Outlook®, PowerPoint®, Word® are registered trademarks of the Microsoft Corporation.
MrExcel® TM is a registered trademark of Tickling Keys, Inc.
All contents © 1998-2014 by MrExcel Consulting | All rights reserved