Microsoft KB Archive/182473

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

Article ID: 182473

Article Last Modified on 1/9/2007

-

APPLIES TO


 * Microsoft Internet Explorer 4.01 128-Bit Edition
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q182473



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, 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) Click 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.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Excel 97 for Windows. This problem no longer occurs in Microsoft Excel 2000.



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://officeupdate.microsoft.com/excel/webquery/samples.htm

The information in this article applies to the updated Internet Assistant Wizard that is included in Microsoft Excel Service Release 1 (SR-1). Please see the following article in the Microsoft Knowledge Base for information about how to obtain and install Microsoft Excel 97 SR-1:

172475 OFF97: How to Obtain and Install MS Office 97 SR-1

