![]() |
|
#1
|
||||
|
||||
![]()
I would write it so it can do zero to n selected tables without needing to handle errors
Code:
Dim aTbl as Table For each aTbl in Selection.Range.Tables With aTbl.Borders(wdBorderLeft) .... End With Next aTbl
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#2
|
|||
|
|||
![]()
Graham and Andrew
Thanks with my love ![]() |
![]() |
Tags |
word table, word vba, word vba code |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Applying a VBA code only on a selected text or range | RobertDany | Word VBA | 2 | 10-09-2021 08:31 AM |
Run code if selected cell is in column | Javi78503 | Word VBA | 0 | 09-21-2021 12:31 PM |
![]() |
mazloum91 | Word Tables | 2 | 06-29-2021 07:21 AM |
![]() |
trevorc | Excel | 2 | 06-19-2018 02:40 AM |
![]() |
Salix | Word | 6 | 05-05-2016 12:48 PM |