Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Selecting Nested Tables
Word 2003
My apologies if I have duplicated this posting. I seem to be having problems with getting it posted. In the case of nested tables, is there a process by which one can select a nested table for modification, separation and/or deletion? Much thanks in advance - Rod |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
Selecting Nested Tables
On Wed, 27 Aug 2008 05:20:02 -0700, RPMitchal
wrote: Word 2003 My apologies if I have duplicated this posting. I seem to be having problems with getting it posted. In the case of nested tables, is there a process by which one can select a nested table for modification, separation and/or deletion? Much thanks in advance - Rod Assuming you know or can determine which cell of the outer table contains a nested table, you can do something like this: ActiveDocument.Tables(1).Cell(1,1).Tables(1).Selec t It selects the nested table in the top left cell of the outer table. If that second-level table contains a third-level nested table in the top cell of the second column, you can get that one by ActiveDocument.Tables(1).Cell(1,1).Tables(1).Cell( 1,2).Tables(1).Select Also, remember that it often isn't necessary to select something in order to do something with it. For example, if you want to delete the nested table, don't select it; just do ActiveDocument.Tables(1).Cell(1,1).Tables(1).Delet e If you need to determine how deeply nested a particular table is, you can look at its .NestingLevel property. Look it up in the Help. -- 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. |
#3
Posted to microsoft.public.word.tables
|
|||
|
|||
Selecting Nested Tables
On Wed, 27 Aug 2008 05:20:02 -0700, RPMitchal
wrote: Word 2003 My apologies if I have duplicated this posting. I seem to be having problems with getting it posted. In the case of nested tables, is there a process by which one can select a nested table for modification, separation and/or deletion? Much thanks in advance - Rod Sorry, my previous reply assumed you were asking about a macro -- I just had macros on my mind. In the user interface, you can click the small square (containing a 4-way arrow) that appears above and to the left of the nested table when the cursor is in that table. -- 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. |
#4
Posted to microsoft.public.word.tables
|
|||
|
|||
Selecting Nested Tables
Hello Jay:
You are right €“ I was not expecting a macro from you as a solution for my situation. However, I want to let you know just how much I appreciate you taking the time to send along the coding that you supplied. It seems that implementing and dissecting the coding that I receive from you and your fellow Community Gurus has been the best way for me to gain any insight into the workings and applications of VBA. Thanks Again €“ Rod "Jay Freedman" wrote: On Wed, 27 Aug 2008 05:20:02 -0700, RPMitchal wrote: Word 2003 My apologies if I have duplicated this posting. I seem to be having problems with getting it posted. In the case of nested tables, is there a process by which one can select a nested table for modification, separation and/or deletion? Much thanks in advance - Rod Sorry, my previous reply assumed you were asking about a macro -- I just had macros on my mind. In the user interface, you can click the small square (containing a 4-way arrow) that appears above and to the left of the nested table when the cursor is in that table. -- 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. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Nested Tables and Corruption | Tables | |||
For the archive, code to format (styles and column widths) tables and nested tables | Tables | |||
How to paste 2 tables into 1, without 1 being nested in the other | Tables | |||
reference to nested tables | Tables | |||
Help with nested tables | Tables |