2021年3月6日星期六

Inserting an Alignment Tab with a Leader

I can create an Alighnment Tab with

Selection.Range.InsertAlignmentTab Alignment:=wdRight RelativeTo:=wdMargin  

While the Insert ... Alighment Tab dialog box allows for the creation of a Leader - it would appear the VBE equivalent does not ...

Selection.Range.InsertAlignmentTab Alignment:=wdRight RelativeTo:=wdMargin Leader:=wdTabLeaderDots  

This line produces an error.

Any idea why or how i can get round this?

Thanks, Ken

https://stackoverflow.com/questions/66512561/inserting-an-alignment-tab-with-a-leader March 07, 2021 at 10:05AM

没有评论:

发表评论