Microsoft KB Archive/181897

= XL98: HTML: Multiline File Description Changes to a Single Line =

Article ID: 181897

Article Last Modified on 9/11/2002

-

APPLIES TO


 * Microsoft Excel 98 for Macintosh

-



This article was previously published under Q181897



SYMPTOMS
When you use the Internet Assistant Wizard in Microsoft Excel 98 Macintosh Edition, you can enter two lines of text in the Description Below Header box in step 3 of the wizard. However, when you subsequently view the resulting Hypertext Markup Language (HTML) document in an Internet browser, the two lines of text that you originally typed appear as one line of text.



CAUSE
This problem occurs when you use the Internet Assistant Wizard and you enter multiple lines of text in the Description Below Header box in step 3 of the wizard. This behavior occurs because the Internet Assistant Wizard does not enter an HTML line break tag (a tag) in the document between the lines.



WORKAROUND
To work around this problem, open the HTML document in an HTML editor or in a text editor and add the line break tag. To enter the tag, type the following

in the location in which you want the line break.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Example
To see an example of the problem that is described in this article, follow these steps:
 * 1) Start Microsoft Excel 98.
 * 2) On the File menu, click Save As HTML.
 * 3) Click Next on steps 1 and 2 of the Internet Assistant Wizard.
 * 4) In step 3 of the Internet Assistant Wizard, type This is a test in the Description Below Header box. Press SHIFT+RETURN for a new line. Type This is a test also on the second line. Click Next.
 * 5) On step 4 of the Internet Assistant Wizard, note the name of the file, and then click Finish.
 * 6) Start Microsoft Word 98. Open the file that the Internet Assistant Wizard created in Microsoft Excel.

NOTE: Open the file in Word by using the Open command on the File menu.

All the description text is on one line.
 * 1) On the View menu, click HTML Source.

The tag is missing after "This is a test."

Inserting the  Tag
To insert a tag after "This is a test," follow these steps:
 * 1) With the HTML code displayed in Microsoft Word, find "This is a test."
 * 2) Move the insertion point after the words "This is a test" and type.
 * 3) Click Exit HTML Source. When you are prompted, save the document.

Word saves the file and returns to normal view, and the document appears correctly.

