+ Reply to Thread
Results 1 to 3 of 3

Using vba speech library sapi.dll

  1. #1
    Registered User
    Join Date
    12-14-2022
    Location
    Houston, Texas, USA
    MS-Off Ver
    365
    Posts
    3

    Using vba speech library sapi.dll

    I am trying to use the Speech Object library SAPI.DLL. I have a routine that lists the available voices the system finds and debug prints the name and a sample is spoken. When I run it only two voices are found. However when I go to WIndows narrator which I believe is the underlying speech object that actually "speaks", I have five separate voices installed. One of these is for a non-English language and I would like to be able to have my VBA change languages and voices. So I could do something like "The word XYZ in English is pronounced ABC in language whatever." So before I can even attempt this, I need to figure out how to get VBA to recognize all the voices I have installed. Thanks for any comments or any good references..
    Please Login or Register  to view this content.
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer
    Last edited by 6StringJazzer; 01-22-2023 at 04:07 PM.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Post Re: Using vba speech library sapi.dll


    ( removed as the original code already works …)
    Last edited by Marc L; 01-23-2023 at 11:44 AM.

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Using vba speech library sapi.dll


    Maybe via the Windows Registry …

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Text to speech on Mac
    By fly4u in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 03-03-2022, 12:44 PM
  2. [SOLVED] 32 bit Library DLL 'olepro32.dll' vs 64 bit Library 'oleaut32.dll'
    By ELeGault in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-21-2017, 10:59 AM
  3. Replies: 1
    Last Post: 03-16-2016, 11:09 AM
  4. Can't find project or library - MS Forms 2.0 Ojbect Library
    By RTSmith in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-11-2012, 06:51 PM
  5. sapi to read time in normal format not as serial number
    By megabytecompute in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-26-2008, 03:03 PM
  6. speech to excel?
    By krayziez in forum Excel General
    Replies: 2
    Last Post: 06-22-2008, 06:05 PM
  7. text to speech
    By Fishy in forum Excel General
    Replies: 0
    Last Post: 07-22-2005, 12:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1