View Single Post
 
Old 07-25-2012, 08:13 AM
sydneytroz sydneytroz is offline Windows 7 64bit Office 2012
Novice
 
Join Date: Jul 2012
Posts: 1
sydneytroz is on a distinguished road
Default

Quote:
Originally Posted by Jennifer Murphy View Post
So I take it there is no wdBordersAll or something like that, right?
Since the border styles are stored in an array or some sort of indexed list, it looks like the other wd* variables are just indices, so a wdBordersAll wouldn't make sense.

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)
...but that will probably never happen.
Reply With Quote