Hello All,
Newbie here. This is my first post.
I have problem about how to create Vba for my Powerpoint file.
here's the situation:
i Copy pasted excel table containing text to powerpoint.
what i want to have is:
- change all text size to 9
- change all align to left
that will apply to any tables on any slides on whole powerpoint file.
i can't do this manualy one by one, as there will be many slides.
attached the file example.
try to write the code, but i am new to vba, not sure what to write.
how to complete the code below?
sub changetext ()
For Each sld In ActivePresentation.Slides
For Each sh In sld.Shapes
.TextFrame.TextRange.ParagraphFormat.Alignment = ppAlignLeft
.TextFrame.TextRange.Font.Size = 9
Next
Next
end sub
is anyone can solve my problem?
thanks before.