Share via

Distribute Rows VBA

Anonymous
2017-08-02T12:24:46+00:00

Hi,

Is there an equivalent VBA code for (Table tools>>Layout] Distribute Rows menu item?

Thanks

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2017-08-02T12:36:56+00:00

    Rows.DistributeHeight e.g as follows

    Dim oTable As Table

    Set oTable = ActiveDocument.Tables(1)

    oTable.Rows.DistributeHeight

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-08-02T14:44:28+00:00

    Pretty sure Graham's code will work in WORD but not PowerPoint

    Assuming there is a table selected try:

    Sub Dist()

    CommandBars.ExecuteMso ("TableRowsDistribute")

    End Sub

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-08-02T15:06:48+00:00

    *"*Ah! Powerpoint. I still haven't got my head around this new forum format "

    Me too!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2017-08-02T15:00:17+00:00

    Ah! Powerpoint. I still haven't got my head around this new forum format :(

    Was this answer helpful?

    0 comments No comments