Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text changes to General | Excel Discussion (Misc queries) | |||
General | Excel Discussion (Misc queries) | |||
Format: General - Text - General | Excel Worksheet Functions | |||
General Help | Excel Discussion (Misc queries) | |||
general | Excel Discussion (Misc queries) |