If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
I cant se the borders grid?
I have made a template in Off.97 - Word, and when I make a
table - with the VBA-code, its look very well, but when we run it in XP, it do not show me the "border-line", I can only see the "Gridlines" We have Off.XP with SP2 now, earlyer last year we have made a test in XP, - and it works very well When I insert "DefaultTableBehavior:=wdWord9TableBehavior", after "ActiveDocument.tables.Add Range..." it works, but we have about 5000 documents, who not have this code. Do anyone have seen this problem before? ************************************************** * Sub New2Tab() With Selection ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=2, NumColumns:=2 .Tables(1).Columns(1).SetWidth ColumnWidth:=198, RulerStyle:=wdAdjustNone .Tables(1).Columns(2).SetWidth ColumnWidth:=198, RulerStyle:=wdAdjustNone .MoveRight Unit:=wdCharacter, Count:=2, Extend:=wdExtend .Tables(1).Rows.SetLeftIndent LeftIndent:=4, RulerStyle:=wdAdjustNone .ParagraphFormat.Alignment = wdAlignParagraphCenter .Rows.Shading.ForegroundPatternColorIndex = wdBlue .Font.ColorIndex = wdWhite .MoveDown Unit:=wdLine, Count:=1, Extend:=wdExtend .Font.Name = "TimesNewRoman" .Font.Size = 12 End With End Sub ************************************************** * Thanks for your help. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems printing photos with borders | Janice | Publisher | 0 | August 24th, 2004 11:54 PM |
Want table borders to default to no borders | Jessica | Tables | 7 | June 21st, 2004 02:41 PM |
Borders and Shading layout page and paragraph combined | waltito30 | Page Layout | 4 | June 16th, 2004 02:13 PM |
grid lines | shane | Charts and Charting | 1 | January 10th, 2004 03:02 AM |