#1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default General

I'm experienced with Excel 2002 with my old computer. Is there anything lost
from transfering programs to my new computer which has Excel 2007 on it?
Also, is there a way to make a value in a cell generate a one time "beep"
type sound if the value in the cell meets a certain criterion?
--
Ken
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 471
Default General

This "could" work. I added a msgbox() so you can see the results too. But
you can remove those results. This will beep one time per session of having
this spreadsheet in memory when the criterion is met. If cell B1 has a
number greater than 5 entered in it, you'll get the beep and message. Place
this code as follows:

Hit Alt-F11, select Microsoft Excel ObjectsThis Workbook
Paste the code in. Then Hit Alt-F11 again and test it. Good luck. The
reason I said "could" work is that your request was so ambiguous I wasn't
sure exactly how you wanted the thing to work.

Public ReportCell


Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
If Cells(1, 2).Value 5 Then
If ReportCell = 0 Then
Let ReportCell = 1
Beep
MsgBox ("beep inserted here!")
End If
End If
End Sub



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text changes to General Hood Excel Discussion (Misc queries) 2 July 20th 07 08:12 AM
General Adrian QES Excel Discussion (Misc queries) 6 January 5th 07 11:55 PM
Format: General - Text - General iturnrocks Excel Worksheet Functions 3 August 11th 06 04:47 PM
General Help M4dSk1llz Excel Discussion (Misc queries) 1 December 12th 05 12:54 AM
general rb Excel Discussion (Misc queries) 1 April 20th 05 07:04 PM


All times are GMT +1. The time now is 12:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"