![]() |
#1
|
|||
|
|||
![]()
Is there a simpler way to get row and column numbers from the current selected cell in a word table with horizontally or vertically merged cells?
I need to retrieve the text of the cell above current selected cell. This code does not works (works only if I add 1 to column index) cause there's merged cells in the selected row. Code:
selection.tables(1).Cell(selection.Cells(1).rowindex-1,selection.Cells(1).columnindex).Range.text
__________________
Backup your original file before doing any modification. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Marcia | Excel | 6 | 05-12-2020 06:21 PM |
Want a quotient using a constant to show up in column c each time a number is added to column b | fibbermcghee | Excel | 2 | 12-09-2014 05:48 PM |
![]() |
MS baby | Project | 1 | 06-03-2014 02:43 PM |
![]() |
highbids | Outlook | 1 | 08-23-2010 04:10 PM |
![]() |
paulrm906 | Excel | 1 | 12-05-2008 07:51 PM |