Microsoft KB Archive/241628

= WD97: Using Selection.Cells in a Loop Gives Incorrect Results for Selected Table Cells =

Article ID: 241628

Article Last Modified on 1/25/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q241628



SYMPTOMS
Programmatically setting or referencing Selection.Cells properties for cells in a Word table gives incorrect results when executed within a loop. For example, the foreground pattern color changes for only three out of four selected cells.



RESOLUTION
To resolve the problem described in this article, obtain and install the latest Microsoft Word 97 update from the following Microsoft Web site:

http://office.microsoft.com/downloads/9798/Wd97mcrs.aspx

IMPORTANT NOTE: Microsoft Word 97 post-service release fixes are cumulative. The latest update contains all of the fixes since Service Release 2. If you install the latest update for Word 97, you do not need to install any other updates after Service Release 2.

For additional information about the fixes included in the latest update for Word 97, click the article number below to view the article in the Microsoft Knowledge Base:

265374 WD97: Post Service Release Fixes for Word 97



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: wd97 vba selection cells loop incorrect word97 qfe

Keywords: kbhotfixserver kbqfe kbdownload kbbug kbfix kbqfe KB241628

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.