distribute objects with zero spacing

  • Thread starter Thread starter SpinMan
  • Start date Start date
S

SpinMan

I have several objects I need to distribute vertically, with no spacing
between them. Essentially, it's stacking the objects. I've tried the
"Draw/Distribute VerticallY' avenue but PP 2003 just evenly separates the
objects. Any suggestions?
 
Dear SpinMan,

Do you mean layered one on top of the other (so you can see what's under
each one)? If that is the case use Align Center and Align Middle.

Sandy
 
I meant "so you *can't* see..."

Sandy Johnson said:
Dear SpinMan,

Do you mean layered one on top of the other (so you can see what's under
each one)? If that is the case use Align Center and Align Middle.

Sandy
 
I realized just after I pushed the "POST" button someone would ask that!
I'd like to stack them like blocks, not layer them without having to "nudge"
them continuously. Think of captioning an object.
Ultimately I'd like to write some sort of macro to do this.
 
Stick with vertical align. Move the top and bottom objects closer together,
select all of them, then vertical align. Keep adjusting the top and bottom
objects until you get the proper spacing.

Does that make sense.
 
Hi

Try this then:
ctrl click to select the shapes and then run this macro

Sub fix_space()
Dim oshpR As ShapeRange
Dim i As Integer
If ActiveWindow.Selection.Type <> ppSelectionShapes Then Exit Sub
Set oshpR = ActiveWindow.Selection.ShapeRange
For i = 1 To oshpR.Count
If i > 1 Then
oshpR(i).Top = oshpR(i - 1).Top + oshpR(i - 1).Height
oshpR(i).Left = oshpR(i - 1).Left
End If
Next i
End Sub

--
john ATSIGN PPTAlchemy.co.uk

Free PPT Hints, Tips and Tutorials
http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html
PPTLive Atlanta Oct 11-14 2009
 
John,
I get an "Object variable or With block variable not set" error when I try
to execute the "For i = 1 to oshpR.count" line. I have selected three
objects, which is reflected in the "Watch" for oshpr.
 
That works real well. Now all I have to do is be careful about the order of
the objects, not where they are vertically.
 
Back
Top