Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2006

Tip: Looking for answers? Try searching our database.

Speech facility

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonni_Grant - 08 Nov 2006 12:40 GMT
Hi,

There is a speech facility in Excel which is great for my work but I would
like to have it where Excel uses the speech facility on opening a
workbook....sort of a welcome and basic instruction as soon as the file is
opened.

Is this possible??

Jon
Dave Peterson - 08 Nov 2006 13:30 GMT
You could use a macro:

Option Explicit
Sub auto_open()
   Dim myStr As String
   
   Select Case Time
       Case Is <= TimeSerial(12, 0, 0)
           myStr = "Good Morning"
       Case Is <= TimeSerial(18, 0, 0)
           myStr = "Good Afternoon"
       Case Else
           myStr = "Good Evening"
   End Select
   
   With Application
       .Speech.Speak Text:=myStr & " " & .UserName
   End With
   
End Sub

> Hi,
>
[quoted text clipped - 6 lines]
>
> Jon

Signature

Dave Peterson

Jonni_Grant - 08 Nov 2006 13:42 GMT
Really excellent - thanks Dave!

> You could use a macro:
>
[quoted text clipped - 27 lines]
> >
> > Jon
Dave Peterson - 08 Nov 2006 13:30 GMT
ps...

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

> Hi,
>
[quoted text clipped - 6 lines]
>
> Jon

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.