Selection$() in a Table May Return Nothing |
Q106709
The information in this article applies to:
- Microsoft Word for Windows, version 6.0
SYMPTOMS
Selection$() returns varying information when the selection occurs in a table. The result varies depending on the content of the selection. Under some conditions, selection$() returns nothing.
Case 1
Selection$() returns a null value if a single cell is selected or multiple cells are selected, including cell markers, and the end-of-row marker is not selected.
Case 2
Selection$() returns a list of values for selections that include the end-of-row marker. List items are separated by a bar to indicate a cell break.
Case 3
Selection$() returns the text of a cell if the contents of the cell are selected without the cell marker.
REFERENCES
"Microsoft Word User's Guide," Chapter 10, "Tables," "Moving, Selecting, and Editing Within a Table" section
Kbcategory: kbusage kbmacro
Additional query words: 6.0 select empty wordbasic command word6 winword
Keywords : kbofficeprog
Issue type :
Technology :
Last Reviewed: March 28, 2000 |