How to call PP's builtin commands in VBA

E

Edward

Hi Everybody,
I want to call PP's builtin commands (in this case decrease and increase
indenet) in my VBA code , How should I do it?
I know how to write the code for indent increase or decrease but instead of
writing my code I though it would be nice to call builtin functions instead
of writing my own, but unlike Excel or Word I can't see those builtin
commands in macros list .Any suggestions?
 
S

Shyam Pillai

Edward,
In PPT 2003, you can use the following commands:

'Increase indent
Commandbars.FindControl(Id:=3507).Execute
'Decrease indent
Commandbars.FindControl(Id:=3508).Execute

Regards,
Shyam Pillai

Animation Carbon - http://www.animationcarbon.com
 
E

Edward

Shyam , you and Steve really helped me through out this process . I really
appreciate your help , and as I always say Microsoft and MSOffice community
owes a lot to you MVP guys.
Thanks a lot.
--
Best regards,
Edward


Shyam Pillai said:
Edward,
In PPT 2003, you can use the following commands:

'Increase indent
Commandbars.FindControl(Id:=3507).Execute
'Decrease indent
Commandbars.FindControl(Id:=3508).Execute

Regards,
Shyam Pillai

Animation Carbon - http://www.animationcarbon.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