creating table in ppt using Macro

M

Mili

How to create table of following size in a powerpoint
slide using macro.

Rows := 80
Columns := 2

I tried to create the table using Macro with rows := 80
and columns := 2 but it gave an error saying that max
rows can be from 1 to 25

help

Mili.
 
S

Shyam Pillai

Mili,

What size font do you plan to use to populate 80 rows with text on slide?
You can create multiple tables of 25 each and align them one below the
other.

--
Regards
Shyam Pillai

Handout Wizard
http://www.mvps.org/skp/how/
 
M

Mili

I am using font size as 7 Arial for displaying text in
each cell.

could you please send me a sample code.
I could create a table with 25 rows but not with 26 rows.
how to align two tables ?

Mili
 
M

Mili

Is there any limitation for rows in PowerPoint.
for example
can we use 26 in place of 25 in the below code

Code :
..AddTable(NumRows:=25, NumColumns:=2, Left:=5, Top:=25,
Width:=660, Height:=320)


Mili.
 
S

Shyam Pillai

Mili,
What is the slide size that is going to be used. Even with font size 7; 25
rows cover just about the entire slide.
 
T

Tushar Mehta

I'm sure you must have tried the code with the change from 25 to 26.
What happened?

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 

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