Microsoft KB Archive/182474

= XL98: Hidden or Blank Rows or Columns Are Displayed in HTML File =

Article ID: 182474

Article Last Modified on 6/12/2007

-

APPLIES TO


 * Microsoft Internet Explorer 4.0 for Macintosh
 * Microsoft Excel 98 for Macintosh

-



This article was previously published under Q182474



SYMPTOMS
When you view a document that is saved in the Hypertext Markup Language (HTML) format by using the Internet Assistant Wizard outside of Microsoft Excel 98 Macintosh Edition, the following problems may occur:
 * Rows or columns that are hidden manually or with AutoFilter are displayed. -or-


 * Blank spaces appear in place of hidden rows or columns.

NOTE: The results vary depending on the Web browser you use and the way the data is organized in the worksheet.



WORKAROUND
To work around this problem, copy and paste the visible cells to another worksheet. Then, use this data for the Internet Assistant Wizard. To do this, follow these steps:
 * 1) Select the range of cells you want to convert to HTML format.
 * 2) On the Edit menu, click Go To.
 * 3) In the Go To dialog box, click Special.
 * 4) Select Visible Cells Only and click OK.
 * 5) On the Edit menu, click Copy.
 * 6) Select cell A1 in a new worksheet.
 * 7) On the Edit menu, click Paste.
 * 8) Use this new worksheet with the Internet Assistant Wizard.



MORE INFORMATION
Microsoft Excel supports four table tag extensions that allow you to create HTML tables that appear correctly in a Web browser. When you import these tables into Microsoft Excel, the tables are enhanced with supporting features, such as formatting, formulas, PivotTables, and AutoFilter lists. For example, The HTML table extension  allows data that is filtered in Microsoft Excel to be displayed properly in HTML format.

NOTE: Microsoft Internet Explorer 3.x does not support this HTML extension and displays the hidden data.

Microsoft Internet Explorer 4.0 supports this HTML extension, so it displays filtered data properly. However, Microsoft Internet Explorer 4.0 may display gaps between visible data. It may be possible to reduce the size of the gaps by editing the HTML file. Use a text editor, such as SimpleText, and add the following cell spacing and padding information to the table border tag:   cellspacing=0 cellpadding=0 For example, the resulting table tag should be similar to the following:  For more information about the HTML tag extensions that are written by the Internet Wizard in Microsoft Excel, download the Microsoft Excel Web Connectivity Kit that is located on the following Web page:

http://office.microsoft.com/excel/webquery

NOTE: Because the Microsoft Web site is regularly updated, the site address may change without notice. If this occurs, link to the Microsoft home page at the following address and search for the file:

http://www.microsoft.com/

