S
Silvester
I use vba automation to automate powerpoint from Access. I am having a
problem with PP vertical anchors in a textbox. I would like the text in the
textbox to appear at the bottom of the slide.
With the vba code below it appears off the screen on the top of the
screen...
Can someone please help me with this ??
-----------------------------------
On my new slide (ppLayoutBlank)
I would like to have a textbox say,
..AddTextbox msoTextOrientationHorizontal, 5#, 10#, 700#, 36#
With oslide.Shapes.Item(1).TextFrame.TextRange
.Text = "This should appear at the bottom of the slide"
.ParagraphFormat.Bullet.Type = ppBulletNone
With .Font
.Name = "Arial"
.Size = 28
.Bold = msoTrue
.Italic = msoFalse
.Underline = msoFalse
.Shadow = msoTrue
End With
End With
'Vertical Align = bottom
oSlide.Shapes.Item(1).TextFrame.VerticalAnchor = msoAnchorBottomBaseLine
oSlide..Shapes.Item(1).TextFrame.HorizontalAnchor = msoAnchorCenter
problem with PP vertical anchors in a textbox. I would like the text in the
textbox to appear at the bottom of the slide.
With the vba code below it appears off the screen on the top of the
screen...
Can someone please help me with this ??
-----------------------------------
On my new slide (ppLayoutBlank)
I would like to have a textbox say,
..AddTextbox msoTextOrientationHorizontal, 5#, 10#, 700#, 36#
With oslide.Shapes.Item(1).TextFrame.TextRange
.Text = "This should appear at the bottom of the slide"
.ParagraphFormat.Bullet.Type = ppBulletNone
With .Font
.Name = "Arial"
.Size = 28
.Bold = msoTrue
.Italic = msoFalse
.Underline = msoFalse
.Shadow = msoTrue
End With
End With
'Vertical Align = bottom
oSlide.Shapes.Item(1).TextFrame.VerticalAnchor = msoAnchorBottomBaseLine
oSlide..Shapes.Item(1).TextFrame.HorizontalAnchor = msoAnchorCenter