View Single Post
 
Old 03-24-2015, 11:34 AM
dherr dherr is offline Windows 8 Office 2007
Advanced Beginner
 
Join Date: Nov 2014
Location: Austria
Posts: 45
dherr is on a distinguished road
Default How to align values in a Word-Table-Column at decimal tabstop

Hi,
I do the following:
Set cellT = table.Rows(j).Cells(i).Range
cw = table.Rows(j).Cells(4).Width
cellT.ParagraphFormat.TabStops.Add Position:=cw \ 2, _
Alignment:=wdAlignTabDecimal, Leader:=wdTabLeaderSpaces
and then:
cellT.text = value (for instance: 24.789)

I can see the Tabstop in the ruler, but the value isn't aligned...

What to do?
Regards-
Dietrich
Reply With Quote