Unable to indent bullets as paragraphs when using VBA in Power

Unable to indent bullets as paragraphs when using VBA in Power

Post by SmltYm8xMD » Fri, 12 Feb 2010 03:36:01


hanks for your suggestion. I tried your recommendation, but was greeted with
error message indicating that the "Method or Datamember is not found" and the
FirstLineIndent is highlighted as the offending item. The same is true with
the LeftIndent property. When I go into the MSDN reference library for
PowerPoint, the FirstLineIndent an LeftIndent is not listed. However, both
of these are listed as properties of Word. Any other thoughts?

"Steve Rindsberg" wrote:

 
 
 

Unable to indent bullets as paragraphs when using VBA in Power

Post by Steve Rind » Fri, 12 Feb 2010 05:22:26

n article < XXXX@XXXXX.COM >, Jimbo1004 wrote:

Post what you've got now and I'll give it a try here.







 
 
 

Unable to indent bullets as paragraphs when using VBA in Power

Post by SmltYm8xMD » Sat, 13 Feb 2010 01:28:01

figured out the problem (there are two). The first is that I needed to
format the table cell using the Ruler object in the TextFrame to setup the
indents. The second, and more sinister, is that this only worked for me
AFTER bullets (paragraphs) were put into the cell AND each bullet (paragraph)
was assigned an IndentLevel. Your initial response got me rethinking about
experimenting with Ruler object and trying out different methods. I've
inserted the Ruler object into the original code as a reference. Thanks for
your help

"Steve Rindsberg" wrote:


With PPPres.Slides(1).Shapes("Table").Table.Cell(2, 1).Shape.TextFrame.Ruler
.Levels(1).FirstMargin = 0
.Levels(1).LeftMargin = 40
.Levels(2).FirstMargin = 60
.Levels(2).LeftMargin = 100
.Levels(3).FirstMargin = 120
.Levels(3).LeftMargin = 160
.Levels(4).FirstMargin = 180
.Levels(4).LeftMargin = 220
.Levels(5).FirstMargin = 240
.Levels(5).LeftMargin = 280
End With



 
 
 

Unable to indent bullets as paragraphs when using VBA in Power

Post by Steve Rind » Sat, 13 Feb 2010 03:35:32

n article < XXXX@XXXXX.COM >, Jimbo1004 wrote:

Yes. Nasty, isn't it? In some cases, you can beat it into behaving rationally by
putting in dummy text, formatting it to taste, then deleting it. The formatting seems
to then "stick" when you add "real" text later.

Your initial response got me rethinking about