Solved

Distribute cells in a PUBLISHER 2013 table

Posted on 2013-11-17
3
949 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
[X]
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
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

730 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