Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Distribute cells in a PUBLISHER 2013 table

Posted on 2013-11-17
3
905 Views
Last Modified: 2013-11-26
I have a table in a MS Publisher 2013 document and I want to distribute the cells evenly across the table. This is easy to do in MS Word right from the ribbon. But I can't figure out how to do this in MS Publisher. Is there a way to do it?
0
Comment
Question by:Lev Seltzer
  • 2
3 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39656216
I can't find such a built-in function in Publisher 2007.

In case you get no better answer, hers is a VBA macro that will do it for the first table on the first page of the current document:
Sub DistributeColumns()
    Dim shp As Shape
    Dim col As Column
    Dim TableWidth As Single

    Set shp = ActiveDocument.Pages(1).Shapes(1)
    For Each col In shp.Table.Columns
        TableWidth = TableWidth + col.Width
    Next col
        
    For Each col In shp.Table.Columns
        col.Width = TableWidth / shp.Table.Columns.Count
    Next col
End Sub

Open in new window

0
 

Accepted Solution

by:
Lev Seltzer earned 0 total points
ID: 39667055
Thank you for your suggestion. The macro did not work, and I did not want to debug it for my particular situation.

In the end, I discovered that control plus shift would allow me to move the border between two cells without affecting the entire table. While I could not make the cells exactly the same size using this method, I was able to get it close enough.
0
 

Author Closing Comment

by:Lev Seltzer
ID: 39677070
The one other answer did not work. I found a different solution at a different source
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question