Solved

Distribute cells in a PUBLISHER 2013 table

Posted on 2013-11-17
3
1,034 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

696 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