Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.tables
|
|||
|
|||
![]()
1. I had table of 3 columns and 4 rows.
2. Select cells row 1 column 3 row 2 columng 4 Word.Selection selection; bool isSelectionInTable = (bool)selection.get_Information( Word.WdInformation.wdWithInTable ); if( isSelectionInTable ) { int numberOfSelectedCells = selection.Cells.Count; // only 1 } Code returns only one selected cells Is there any way to get all 2 selected cells? Thank you, Igor |
#2
![]()
Posted to microsoft.public.word.tables
|
|||
|
|||
![]()
No, that is not possible in VBA. See
http://support.microsoft.com/?kbid=288424. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Igor Jecmenic wrote: 1. I had table of 3 columns and 4 rows. 2. Select cells row 1 column 3 row 2 columng 4 Word.Selection selection; bool isSelectionInTable = (bool)selection.get_Information( Word.WdInformation.wdWithInTable ); if( isSelectionInTable ) { int numberOfSelectedCells = selection.Cells.Count; // only 1 } Code returns only one selected cells Is there any way to get all 2 selected cells? Thank you, Igor |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count Number of Selected Cells In A Table? | Tables | |||
Resize Word table cells without moving/resizing the other cells? | Tables | |||
specifying a range of cells in excel when mailmerging | Mailmerge | |||
MS Word: select cells range and duplicate same data in all cells | Microsoft Word Help | |||
how do I resize selected cells in a table? | Tables |