Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 07-25-2012, 08:13 AM
sydneytroz sydneytroz is offline Please tell me it doesn't take 7 statements to turn table borders off Windows 7 64bit Please tell me it doesn't take 7 statements to turn table borders off 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Please tell me it doesn't take 7 statements to turn table borders off showing results of If statements in a mail merge m&co Mail Merge 3 01-06-2012 07:27 PM
Please tell me it doesn't take 7 statements to turn table borders off 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

Other Forums: Access Forums

All times are GMT -7. The time now is 01:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft