DOCUMENT:Q240232 08-MAY-2002 [word97] TITLE :WD97: Selection.Information Returns Incorrect Information PRODUCT :Word 97 for Windows PROD/VER:WINDOWS:97 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Word 97 for Windows ------------------------------------------------------------------------------- SYMPTOMS ======== When you use the Selection.Information(wdStartOfRangeColumnNumber) or Selection.Information(wdStartOfRangeRowNumber) method to return the column or row number from a Word table with merged cells, the information returned does not take into account that a table contains merged cells. Thus the returned information cannot be used to reference cells in rows that contain merged cells. WORKAROUND ========== To work around this problem, use Visual Basic for Applications code to loop through and mark Row, Column using the Tables(n).Columns.Count and Tables(n).Rows.Count of each cell while keeping track of count manually. 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: Q265374 WD97: Post Service Release Fixes for Word 97 STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. Additional query words: VBA VBE VB ====================================================================== Keywords : Technology : kbWordSearch kbWord97 kbWord97Search kbZNotKeyword2 Version : WINDOWS:97 Hardware : ALPHA x86 Issue type : kbbug Solution Type : kbfix ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2002.