I am trying to add a textbox to a powerpoint slide using access.
I am following the syntax from microsoft website. But I keep getting a compile error variable not defined with msoTextOrientationHorizontal highlighted. I am confused.
I am following the syntax from microsoft website. But I keep getting a compile error variable not defined with msoTextOrientationHorizontal highlighted. I am confused.
Code:
Set mySlide = myPresentation.Slides.Add((intSlideCount + 1), ppLayoutBlank)
Set tbxTitle = mySlide.Shapes.AddTextbox(Type:=msoTextOrientationHorizontal, Left:=10, Top:=10, Width:=800, Height:=25).TextFrame.TextRange
tbxTitle = "Monthly Summary"