I am porting over some code from VBA to VB.Net in a VS2008 project.
I am automating a Word 2007 document where a table is inserted and then adding rows as required. Each row added is to have a dotted line underneath. The attached code is from VBA but VS complains of (wdBorderBottom). What would the correct syntax be please?
I had thought it would be like below, but that syntax throws an exception.
ineStyle = Word.WdLineStyle.wdLineSty
.Tables(1).Rows(i).Borders(wdBorderBottom).LineStyle = wdLineStyleDot