![]() |
#6
|
||||
|
||||
![]()
Assuming the building block-placed table is IMMEDIATELY above the selection, you could move the selection back into the table by using the .Previous method along the lines of
Code:
Dim aRng As Range, aTbl As Table, aCell As Cell Set aRng = Selection.Range.Paragraphs(1).Previous.Range Set aTbl = aRng.Tables(1) Set aCell = aTbl.Cell(1, 1) aCell.Range.Select
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
2 general question about coding | puff | Excel Programming | 1 | 12-07-2017 08:53 AM |
![]() |
DRD992 | Word VBA | 1 | 10-12-2017 05:15 PM |
![]() |
rsrasc | Excel Programming | 4 | 10-30-2015 01:10 AM |
UserForm VBA coding | Niclasfa | Word VBA | 1 | 04-08-2015 10:23 PM |
What kind of coding? | ep2002 | Excel | 3 | 07-22-2014 07:52 AM |