Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-24-2015, 11:34 AM
dherr dherr is offline How to align values in a Word-Table-Column at decimal tabstop Windows 8 How to align values in a Word-Table-Column at decimal tabstop Office 2007
Advanced Beginner
How to align values in a Word-Table-Column at decimal tabstop
 
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
  #2  
Old 03-24-2015, 03:39 PM
dherr dherr is offline How to align values in a Word-Table-Column at decimal tabstop Windows 8 How to align values in a Word-Table-Column at decimal tabstop Office 2007
Advanced Beginner
How to align values in a Word-Table-Column at decimal tabstop
 
Join Date: Nov 2014
Location: Austria
Posts: 45
dherr is on a distinguished road
Default

I found my mistake:
The column with the decimal tabstop was formatted with Alignment as 'right'.
I made it to 'left' and the values were aligned at decimal point.
-Dietrich-
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to align table of figures or contents Jazz43 Word 19 09-26-2016 07:19 AM
Pulling 2 digits before a decimal point from adjoining cell then zeros after decimal jadess916 Excel 1 06-26-2014 03:48 AM
How to align values in a Word-Table-Column at decimal tabstop Align Mail Merged Numbers to the Decimal Point HangMan Mail Merge 1 12-11-2013 02:32 PM
Can you align the starting point of footnotes in multi-column format? New Daddy Word 1 11-10-2012 01:54 AM
How to align values in a Word-Table-Column at decimal tabstop How to align And center the content of the column in a table? Jamal NUMAN Word 1 05-02-2011 05:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft