+ Reply to Thread
Results 1 to 4 of 4

Can't get Speak method to work

Hybrid View

  1. #1
    Ken Soenen
    Guest

    Can't get Speak method to work

    I've been trying to get the Speak Method to work as advertised in the
    following HELP example:

    Sub UseSpeech()

    Application.Speech.Speak "Hello"

    End Sub

    It gives me a runtime error 1004 "Application-defined or Object-defined
    error"
    I'm using Excel 2003 with XP.

    Anybody have any ideas??

    thanks



  2. #2
    Niek Otten
    Guest

    Re: Can't get Speak method to work

    application.Speech.Speak ("hello")

    --
    Kind regards,

    Niek Otten

    "Ken Soenen" <ksoenen@trip.net> wrote in message
    news:11mbafl87su2bcd@corp.supernews.com...
    > I've been trying to get the Speak Method to work as advertised in the
    > following HELP example:
    >
    > Sub UseSpeech()
    >
    > Application.Speech.Speak "Hello"
    >
    > End Sub
    >
    > It gives me a runtime error 1004 "Application-defined or Object-defined
    > error"
    > I'm using Excel 2003 with XP.
    >
    > Anybody have any ideas??
    >
    > thanks
    >




  3. #3
    Dave Peterson
    Guest

    Re: Can't get Speak method to work

    Your code worked ok for me.

    Are you sure you installed the speech component when you installed Office?

    Ken Soenen wrote:
    >
    > I've been trying to get the Speak Method to work as advertised in the
    > following HELP example:
    >
    > Sub UseSpeech()
    >
    > Application.Speech.Speak "Hello"
    >
    > End Sub
    >
    > It gives me a runtime error 1004 "Application-defined or Object-defined
    > error"
    > I'm using Excel 2003 with XP.
    >
    > Anybody have any ideas??
    >
    > thanks


    --

    Dave Peterson

  4. #4
    Ken Soenen
    Guest

    Re: Can't get Speak method to work

    That was the problem! Thanks Dave


    "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message
    news:43661789.DB9197D@verizonXSPAM.net...
    > Your code worked ok for me.
    >
    > Are you sure you installed the speech component when you installed Office?
    >
    > Ken Soenen wrote:
    >>
    >> I've been trying to get the Speak Method to work as advertised in the
    >> following HELP example:
    >>
    >> Sub UseSpeech()
    >>
    >> Application.Speech.Speak "Hello"
    >>
    >> End Sub
    >>
    >> It gives me a runtime error 1004 "Application-defined or Object-defined
    >> error"
    >> I'm using Excel 2003 with XP.
    >>
    >> Anybody have any ideas??
    >>
    >> thanks

    >
    > --
    >
    > Dave Peterson




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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