J
John Marshall, MVP
I have a routine that populates a three column table (Ref #, Name, Page #)
that works fine. The cell with the Name is hyperlinked. I am now trying to
add a tab leader of dots to the end of the Name cell. I can add the tab and
set the tab leader to dots, but the tab is included in the hyperlink. Any
ideas how to correct this?
Username = UserName & vbTab
ActiveDocument.Hyperlinks.Add Anchor:=NameTable.Cells(RowNum,2).Range,
Address:="", TextToDisplay:=UserName, SubAddress:=BookMarkName, _
ScreenTip:="Click to view user"
NameTable.Cell(RowNum,2).Range.ParagraphFormat.Tabstops.Add
Position:=InchesToPoints(5.4), Alignment:=wdAlignTabRight,
Leader:=wdTabLeaderDots
Any alternate suggestions would also be appreciated.
John... Visio MVP
that works fine. The cell with the Name is hyperlinked. I am now trying to
add a tab leader of dots to the end of the Name cell. I can add the tab and
set the tab leader to dots, but the tab is included in the hyperlink. Any
ideas how to correct this?
Username = UserName & vbTab
ActiveDocument.Hyperlinks.Add Anchor:=NameTable.Cells(RowNum,2).Range,
Address:="", TextToDisplay:=UserName, SubAddress:=BookMarkName, _
ScreenTip:="Click to view user"
NameTable.Cell(RowNum,2).Range.ParagraphFormat.Tabstops.Add
Position:=InchesToPoints(5.4), Alignment:=wdAlignTabRight,
Leader:=wdTabLeaderDots
Any alternate suggestions would also be appreciated.
John... Visio MVP