Table Row Height and Column Width

L

Lori T

Is there a way to exactly set the row height and column width in Publisher
2003? For instance, I want all the rows to be .25 inches high or 16 points
high -- can I set this?
 
M

Mary Sauer

No...
You could create ruler guides. Right-click a ruler guide, click format ruler
guides. You then can adjust your table rows by snapping to the guides.
 
J

James Oakley

This is a year-old thread, but I found it whilst searching for an answer to this very question. So, in case it helps someone...

Yes, you can - through VBA.

ActiveDocument.Pages(i).Shapes(j).Table.Rows(k).Height=newValue

I haven't worked out what the units are yet, but I will keep tweaking newValue until it looks right



Mary Sauer wrote:

Re: Table Row Height and Column Width
24-Oct-08

No..
You could create ruler guides. Right-click a ruler guide, click format ruler
guides. You then can adjust your table rows by snapping to the guides

--
Mary Saue
http://msauer.mvps.org


EggHeadCafe - Software Developer Portal of Choice
..NET System.IO Read And Write Files Compared To Scripting.FileSystemObject
http://www.eggheadcafe.com/tutorial...512-462b2a15a09b/net-systemio-read-and-w.aspx
 
E

Ed Bennett

James said:
ActiveDocument.Pages(i).Shapes(j).Table.Rows(k).Height=newValue

If you only have the table selected, then you can use:

ThisDocument.Selection.ShapeRange(1).Table

instead - removes the need for trial and error to find the right Shape
object.
I haven't worked out what the units are yet, but I will keep tweaking newValue until it looks right

The default units are points - same as font size, (1/72)". However, you
can specify units by using e.g.:

[object].Height = "3 cm"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top