Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

How to set the text being two lines for in the PowerPoint Shape ?

$
0
0

 I am running into an issue with getting multiple lines of text in the Shapes(2), I've tried &vbNewLine, & Chr (13), and & Chr (10). All give an overflow error on that line of code.

Example:

ActivePresentation.Slides(SlideNumber).Shapes(2).TextFrame.TextRange = "Here are the results of the checkpoints in this module:" &vbNewLine & _

"Number Correct:"

Also, I figured I would ask this as well... I am currently using a msgbox to hold the slide until it is read, then on OK the presentation moves to the next slide.How would I add a captioned (example: Continue) command button to move to the next slide when clicked?



Viewing all articles
Browse latest Browse all 2257

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>