Second lines will not line up

J

jamesTcarville

Hello everybody,

I have a macro that types sentences in textframes. Each of them begin
with the word "question : ". Some of the lines are long and wrap to a
second line.

The second line is directly under the word "question :" and will not
indent so it is under the first letter of the first word of the
sentence.

How can I make these second lines line up ?
I knwow how to do it with the ruler. But the macro recorder will not
record this.

I have tried this :
ActiveWindow.Selection.TextRange.IndentLevel = 20
But it moves to right all the lines, when I need the first line to stay
where it is and the others to move right.

Any help would be geatly appreciated.

THX
 
B

Bill Dilworth

This should do what you want, although customization of the slide number and
shape number will be required.


With ActivePresentation.Slides(1).Shapes(1).TextFrame.Ruler
.Levels(1).FirstMargin = 0
.Levels(1).LeftMargin = 0
End With

--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
yahoo2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top