The information in this article applies to:
SYMPTOMSWhen 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. WORKAROUNDTo 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. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. Additional query words: VBA VBE VB
Keywords : |
Last Reviewed: October 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |