怎么用VB绘制word表格的边框
怎么用VB绘制word表格的边框,以下是我录制word宏后提取的,我需要选用几种线型绘制,当第二次运行的时候With Options就会报462错误,无法调用出需要的线型。
WordApp.ActiveDocument.Tables(1).Select
With Options
.DefaultBorderLineStyle = wdLineStyleSingle
.DefaultBorderLineWidth = wdLineWidth050pt
.DefaultBorderColor = wdColorAutomatic
End With