Implementing the Speech function on a MAC and Windows PCs - Microsoft Community


hi.

i have windows pc , writing powerpoint 2010 presentation.  in several places access sapi speech capabilities of windows pc.

i've never owned mac computer , see on internet, mac's have different kind of voice system.

i presentation run on both windows pcs , macs.

two questions:

1) windows office/powerpoint 2010 vba code run on mac has microsoft office/pp installed on it?

2) there way test machine , see if mac , implement mac speech capabilities, windows?

here's think vba code like, , need mac part of code:

sub speakit(phrase string)

if mac   'a test check if mac computer
    ' initiate speech capabilities of mac computer here

else  'if not mac computer it's windows pc
    dim sapiobj object
    set sapiobj = createobject("sapi.spvoice")
    sapiobj.rate = -2
    sapiobj.speak "<pitch middle='-3'>" & phrase
end if

end sub

thanks help.

don

hi don,

yes, office 2008 mac version not support vba.

you can use of same objects available in vba office, not have links examples; suggest testing code directly on mac if possible, if there issues, can post new thread here , can troubleshoot it.

you can find more information regarding vba on office mac in msdn article:

vba office mac.

regards,

sheen



Office / PowerPoint / Mac / Office 2011 for Mac



Comments

Popular posts from this blog

message deleted by transport agent, event: LED=550 4.3.2 - Microsoft Community

Outlook conversion problem - Microsoft Community

Outlook 2016 - Insert attachment to Meeting Invite You Do Not Own - Microsoft Community