Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 13
Default Beep on greater than zero

I have an excel spreadsheet with several columns. To verify that data has
been entered correctly I have a column that adds all the columns and should
equal zero if they are entered correctly. Since the "proofing column" is not
always visable unless I tab to the end of the worksheet, I would like to hear
a beep if the column is greater than zero to signal that I need to check my
entries. It would be great if I could see a dialogue box that would tell me
my entries are not correct.

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,344
Default Beep on greater than zero

Hi,

You will need to use VBA to do that. It might be easier to conditionally
format cell A1 to turn red if the sum of the column is not 0.

The vba code to do what you want is

Private Sub Worksheet_Change(ByVal Target As Range)
If [G18] < 0 Then Beep
End Sub

where G18 is the cell which should sum to 0

The conditional format would be done by selecting cell A1 or more cells and
choosing Format, Conditional Formatting, choose Formula is from the first
drop down, in the second box enter the formula

=$G$18<0

then click Format and on the patterns tab choose Red.

You can actually select the entire spreadsheet and apply this conditional
formatting - that would make it very clear when there was a problem!

Thanks,
Shane Devenshire


"TaylorLeigh" wrote:

I have an excel spreadsheet with several columns. To verify that data has
been entered correctly I have a column that adds all the columns and should
equal zero if they are entered correctly. Since the "proofing column" is not
always visable unless I tab to the end of the worksheet, I would like to hear
a beep if the column is greater than zero to signal that I need to check my
entries. It would be great if I could see a dialogue box that would tell me
my entries are not correct.

Thanks,

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
BEEP ziad Excel Discussion (Misc queries) 5 December 28th 07 03:56 PM
Beep accompanying My Message Box JMay Excel Discussion (Misc queries) 9 February 7th 07 11:49 AM
Beep Change The Sound Bob Excel Discussion (Misc queries) 0 July 6th 06 11:56 PM
turn off beep jocke Excel Discussion (Misc queries) 0 May 31st 06 07:54 AM
beep suddenly won't work Jack Sons Excel Discussion (Misc queries) 3 August 14th 05 02:27 PM


All times are GMT +1. The time now is 01:32 AM.

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"