Please Note: This article is written for users of the following Microsoft Excel versions: 2007 and 2010. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Adding Excel Information to a Web Page.

Adding Excel Information to a Web Page

Written by Allen Wyatt (last updated December 23, 2021)
This tip applies to Excel 2007 and 2010


When you are creating Web output in Excel, you are not limited to creating entire Web pages. Indeed, you can add your Excel-generated HTML output to an existing Web page, if desired. To add to an existing Web page you use much the same process that you follow in creating a Web page from scratch. The difference is that you will need to select the cell range you want added to an existing Web page; this is the key that tips off Excel as to what you are doing. You can follow these general steps:

  1. Load the workbook you want to use.
  2. Select the cell range you want added to an existing Web page.
  3. Display the Save As dialog box and make sure the Save As Type drop-down is set to Web Page.
  4. Make sure you choose the Selection radio button in the middle of the dialog box. (See Figure 1.)
  5. Figure 1. The Save As dialog box.

  6. Specify any other settings, as desired.
  7. Click on the Save button. Excel recognizes you are about to overwrite an existing Web page with only a limited number of cells and displays a dialog box to that effect.
  8. Click on the Add To File button.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (197) applies to Microsoft Excel 2007 and 2010. You can find a version of this tip for the older menu interface of Excel here: Adding Excel Information to a Web Page.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Counting Open Document Windows

When creating macros, it is sometimes necessary to know how many documents are open in Word. This is relatively easy to ...

Discover More

Forcing Printouts to Black and White

If you want to force Word to print some of its colors in black and white, you may be out of luck. One bright spot, as ...

Discover More

Inserting and Deleting Footnotes

Footnotes are essential in some types of writing. When you need to add footnotes to your documents, you'll appreciate the ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Adding a ScreenTip

If you want people to know something about a hyperlink you added to your worksheet, one way to help them is to use ...

Discover More

Opening an HTML Page in a Macro

Excel allows you to open HTML pages within the program, which is great for some purposes. What if you want to open a ...

Discover More

Converting a Range of URLs to Hyperlinks

Converting a single URL into a hyperlink is easy. Converting hundreds or thousands can be much harder if you have to rely ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.