Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Ulrich
 
Posts: n/a
Default HowTo: Align Tablecolumn

Hi,

how can i (right-)align a table's column in vb?

I use the following code:

Set Tbl = WordDoc.Tables.Add(somRange, intRows, intCols)

Tbl.Cell(iRow, iCol).Range.Text = someText

Now i want to right-align or center one of the columns icol. Using the table
or selection range-method .Rows.Alignment=wdAlignRowRight does not work!
What do i do wrong?

Please help me someone. Thanks.


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
align text center and right on the same line Annette Frank Microsoft Word Help 9 May 5th 23 08:49 AM
howto search for a word in more than one *.doc (search in all doc's in a folder)? erik Microsoft Word Help 2 February 11th 05 03:02 PM
align right problems everything aligns right not selction Highlander Page Layout 2 January 10th 05 04:09 PM
how to align list numbers on decimal rexv New Users 1 January 8th 05 03:33 AM
How do I vertically align a table in Word? Cocosa Tables 1 January 4th 05 09:53 PM


All times are GMT +1. The time now is 05:04 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"