G
Guest
I'm creating a table programmatically, one row at a time. In Powerpoint 2K I set the default cell margins for the first row using the code below.
set tbl = activeslide.shapes.addtable(1, cols, ...)
for each cell in tbl.Rows(1).Cells
with cell.shape.TextFrame
.MarginTop = 2
.MarginLeft = 2
.MarginRight = 2
.MarginBottom = 2
end with
next
Works great in PPT2K, but not in Powerpoint 2003. Any ideas how to accomplish the same thing in 2003.
Thanks.
set tbl = activeslide.shapes.addtable(1, cols, ...)
for each cell in tbl.Rows(1).Cells
with cell.shape.TextFrame
.MarginTop = 2
.MarginLeft = 2
.MarginRight = 2
.MarginBottom = 2
end with
next
Works great in PPT2K, but not in Powerpoint 2003. Any ideas how to accomplish the same thing in 2003.
Thanks.