![]() |
|
|
|
#1
|
||||
|
||||
|
That's pretty clever. I never would have thought of that.
So I take it there is no wdBordersAll or something like that, right?
|
|
#2
|
||||
|
||||
|
Quote:
ActiveDocument.Tables(1).Rows(1).Borders.Enable = False but that would remove the bottom border from the row as well. You might remedy that with code like: Code:
With ActiveDocument.Tables(1) .Rows(1).Borders.Enable = False .Rows(2).Borders.Enable = True End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#3
|
|||
|
|||
|
Quote:
If VBA was kept up with the .NET languages, you could do something like (I'm not familiar with VB .NET, so this is borrowing from the C# syntax) Code:
Selection.Borders.ForEach(x => x.LineStyle = wdLineStyleNone) |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
showing results of If statements in a mail merge
|
m&co | Mail Merge | 3 | 01-06-2012 07:27 PM |
Word VBA: add borders to active table
|
tinfanide | Word VBA | 2 | 12-02-2011 05:53 AM |
| Insert table button doesn't work in Outlook 2010 e-mail message | ironwoods | Outlook | 0 | 08-02-2010 12:24 PM |
| Converting document to PDF but table of contents doesn't work | luthers | Word | 0 | 07-30-2009 03:29 PM |
| IF statements that shifts to right. | kent | Excel | 0 | 01-19-2006 02:23 PM |