Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2007

Tip: Looking for answers? Try searching our database.

Line thickness

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fuzzhead - 01 Mar 2007 01:51 GMT
I have the following macro to insert a table. How do I get the line thickness
to 450pt.

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1, NumColumns:= _
   1, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:=wdAutoFitFixed
Selection.Tables(1).Rows.SetLeftIndent LeftIndent:=5.4,
RulerStyle:=wdAdjustNone
Selection.Tables(1).Columns(1).SetWidth ColumnWidth:=498,
RulerStyle:=wdAdjustNone
Stefan Blom - 01 Mar 2007 12:17 GMT
You cannot; you can only use the values corresponding to the
wdLineWidth constants (look in the Object Browser in the Visual Basic
Editor or try recording the border width that you want).

Signature

Stefan Blom
Microsoft Word MVP

> I have the following macro to insert a table. How do I get the line thickness
> to 450pt.
[quoted text clipped - 6 lines]
> Selection.Tables(1).Columns(1).SetWidth ColumnWidth:=498,
> RulerStyle:=wdAdjustNone
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.