Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Table Row Height and Column Width

4,928 views
Skip to first unread message

T@discussions.microsoft.com Lori T

unread,
Oct 24, 2008, 12:15:07 PM10/24/08
to
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?

Mary Sauer

unread,
Oct 24, 2008, 2:25:16 PM10/24/08
to
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 Sauer
http://msauer.mvps.org/

"Lori T" <Lori T...@discussions.microsoft.com> wrote in message
news:2631297F-839A-4699...@microsoft.com...

jamesoakley

unread,
Oct 8, 2009, 8:51:58 AM10/8/09
to
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.

"Lori T" <Lori T...@discussions.microsoft.com> wrote in message
news:2631297F-839A-4699...@microsoft.com...

EggHeadCafe - Software Developer Portal of Choice
.NET System.IO Read And Write Files Compared To Scripting.FileSystemObject
http://www.eggheadcafe.com/tutorials/aspnet/cea7ec01-3944-4295-8512-462b2a15a09b/net-systemio-read-and-w.aspx

Ed Bennett

unread,
Oct 8, 2009, 7:08:14 PM10/8/09
to
James Oakley wrote:
> 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"

--
Ed Bennett - MVP Microsoft Publisher
http://ed.mvps.org

0 new messages