?
Solved

Distribute cells in a PUBLISHER 2013 table

Posted on 2013-11-17
3
Medium Priority
?
1,121 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
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: …
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 …

752 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