Each cell in a Table refers to the Shape object. This object is the same for
merged cells and is different for separate cells. So, if a 5x5 table is
selected and cell (3,3) and (3,4) are merged, the following returns True:
With ActiveWindow.Selection.ShapeRange(1).Table
MsgBox .Cell(3, 4).Shape Is .Cell(3, 3).Shape
End With
Once you have a reference to the table shape, you don't have to select the
shape or any cell to know whether the cells have been merged.
- Chirag
PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
"bourgui" <bourgui@gmail.com> wrote in message
news:036fea18-9fb6-4b88-8bb6-450813e43c2b@f10g2000vbf.googlegroups.com...
> Hi all,
>
> I'm looking for a way to determine which cells are merged in
> Powerpoint tables. I'm a little dumbfounded that there is no "merged"
> property on the Cell object.
>
> So far I've had to resort to selecting a first cell, then checking of
> other potential cells are also selected, but it is ugly and time
> consuming (not to mention you can't do this silently).
>
> Am I missing something obvious here?
>
> Thanks!

Microsoft® Excel® based database addin
| + Reply to Thread
Results 1 to 3 of 3
Thread: Merged cells in Powerpoint
|
Forum
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks