![]() |
|
#1
|
|||
|
|||
![]() Hi, I may have asked this question earlier - in that case I apologise (though I tried looking could not find). If I want to select all tables, and then change the Default Cell Margin from 0.19 to 0.00 - what could be done for that. Regards Umesh Banga |
#2
|
|||
|
|||
![]()
Hi Umesh
How many tables do you have in your document and is this a static number? Tony |
#3
|
||||
|
||||
![]()
try:
Code:
Sub Demo() Dim Tbl As Table For Each Tbl In ActiveDocument.Tables Tbl.LeftPadding = 0 Tbl.RightPadding = 0 Next End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
xan | Word VBA | 1 | 04-20-2012 07:50 PM |
![]() |
ubns | Word VBA | 1 | 04-16-2012 05:07 AM |
Macro to Table Style | ubns | Word VBA | 1 | 04-16-2012 05:01 AM |
Help with pivot table macro | ejima | Excel Programming | 2 | 02-16-2012 03:45 PM |
Sort table using macro | saslotteroy | Word VBA | 2 | 09-15-2011 02:41 PM |