Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27366

VS 2008 Access Word property WdLineStyle.wdLineStyleSingle on late binding

$
0
0
Hi!

I am trying to switch my application to late binding. I don't understand how I can access Word Document properties (like Word.WdLineStyle.wdLineStyleSingle).
I tried this:
Code:

oWord = CreateObject("Word.Application")
...
oTable.Borders.OutsideLineStyle = oWord.WdLineStyle.wdLineStyleSingle

But this is not right - error "Public member 'WdLineStyle' on type 'ApplicationClass' not found.", so how can I access this property when using late binding?

Viewing all articles
Browse latest Browse all 27366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>