Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Powerpoint for Mac > Re: VBA to Appl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 9 Topic 2748 of 3142
Post > Topic >>

Re: VBA to Applescript in PPT

by Steve Rindsberg <abuse@[EMAIL PROTECTED] > May 10, 2008 at 12:40 AM

In article
<c321c2b5-4f63-4f22-9533-d175ed642dc2@[EMAIL PROTECTED]
>,  
wrote:
> Hi,
> the message is "microsoft powerpoint got an error:"  with the script
> editor highlighting VBA section of the code.

Are you using 2008, by any chance?
It doesn't sup****t VBA at all ... that would account for the error, if so.

Otherwise which version?

> I have tried other approaches such as
> 
> tell application "Microsoft powerpoint"
> go to first slide
> select text
> set font to palatino
> end tell
> 
> this gives the error: Can't set «class PpFc» to palatino. Access not
> allowed.
> 
> I also tried:
> 
> tell application "Microsoft PowerPoint"
>  set theShape to shape 1 of slide 1 of active presentation
>  tell theShape
>   set font to "arial"
>  end tell
> end tell
> but got: Can't set font to "arial". Access not allowed.
> 
> If I could get one of these to work and cycle through the slides - or
> go to specific slides/headers that would be great.
> 
> Many thanks,
> 
> Peter
>

================================================
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
 




 9 Posts in Topic:
VBA to Applescript in PPT
peterthebag@[EMAIL PROTEC  2008-05-09 09:03:49 
Re: VBA to Applescript in PPT
Steve Rindsberg <abuse  2008-05-09 16:31:35 
Re: VBA to Applescript in PPT
peterthebag@[EMAIL PROTEC  2008-05-09 14:47:06 
Re: VBA to Applescript in PPT
Steve Rindsberg <abuse  2008-05-10 00:40:04 
Re: VBA to Applescript in PPT
peterthebag@[EMAIL PROTEC  2008-05-10 00:49:59 
Re: VBA to Applescript in PPT
Steve Rindsberg <abuse  2008-05-12 16:24:58 
Re: VBA to Applescript in PPT
peterthebag@[EMAIL PROTEC  2008-05-10 01:05:06 
Re: VBA to Applescript in PPT
peterthebag@[EMAIL PROTEC  2008-05-13 01:11:02 
Re: VBA to Applescript in PPT
Steve Rindsberg <abuse  2008-05-13 17:01:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 9:32:17 CDT 2008.