Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Audible Alarm

Hello.

Is there a way to trigger an audible alarm if a given cell has a value greater than 0 ?

Could someone post the VBA ?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Audible Alarm

On Wednesday, October 31, 2012 2:23:26 PM UTC-4, Claus Busch wrote:
Hi, Am Wed, 31 Oct 2012 11:11:21 -0700 (PDT) schrieb : Is there a way to trigger an audible alarm if a given cell has a value greater than 0 ? copy code in module of the worksheet. It works with Range("C1") - modify to suit: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address < "$C$1" Then Exit Sub If Target.Value 0 Then Beep End Sub Regards Claus Busch -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2


Thanks. I pasted the code into a module and the value in C1 is 1 but no beep ? I'm using excel 2010 - does that matter ?
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Audible Alarm

Hi,

Am Fri, 2 Nov 2012 11:20:19 -0700 (PDT) schrieb CM:

Thanks. I pasted the code into a module and the value in C1 is 1 but no beep ? I'm using excel 2010 - does that matter ?


the code must be copied in the code module of the worksheet. In Project
Explorer double click on the worksheet and copy the code in the code
module.


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Audible Alarm

On Wednesday, October 31, 2012 2:11:22 PM UTC-4, wrote:
Hello. Is there a way to trigger an audible alarm if a given cell has a value greater than 0 ? Could someone post the VBA ?


Thanks again. I am not familiar with Projects/Explorer ?


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Audible Alarm

Hi,

Am Fri, 2 Nov 2012 12:04:12 -0700 (PDT) schrieb :

Thanks again. I am not familiar with Projects/Explorer ?


have a look for the workbook "CM":
https://skydrive.live.com/#cid=9378A...121822A3%21191


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Audible Alarm

On Friday, November 2, 2012 3:05:56 PM UTC-4, Claus Busch wrote:
Hi, Am Fri, 2 Nov 2012 12:04:12 -0700 (PDT) Thanks again. I am not familiar with Projects/Explorer ? have a look for the workbook "CM": https://skydrive.live.com/#cid=9378A...121822A3%21191 Regards Claus Busch -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2


I cannot open the spreadsheet. It needs a windows live id which i dont have..
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Audible Alarm

On Monday, November 5, 2012 12:34:24 PM UTC-5, Claus Busch wrote:
Hi,



Am Mon, 5 Nov 2012 09:31:14 -0800 (PST) :



I cannot open the spreadsheet. It needs a windows live id which i dont have.




you can follow the link and then right click on "CM" and choose

"Download"


Thanks. I did get it to download. I entered a number greater than 0 in C1. Nothing happenned. Is it suppose to beep ?


Regards

Claus Busch

--

Win XP PRof SP2 / Vista Ultimate SP2

Office 2003 SP2 /2007 Ultimate SP2


  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Audible Alarm

On Monday, November 5, 2012 1:40:53 PM UTC-5, Claus Busch wrote:
Hi,



Am Mon, 5 Nov 2012 10:37:57 -0800 (PST)



Thanks. I did get it to download. I entered a number greater than 0 in C1. Nothing happenned. Is it suppose to beep ?




a download is a strange source and therefore Excel disabled macros.

Enable macro and it will beep.


The macros are enabled. Still no beep.


Regards

Claus Busch

--

Win XP PRof SP2 / Vista Ultimate SP2

Office 2003 SP2 /2007 Ultimate SP2


  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Audible Alarm

On Monday, November 5, 2012 1:58:42 PM UTC-5, wrote:
On Monday, November 5, 2012 1:40:53 PM UTC-5, Claus Busch wrote:

Hi,








Am Mon, 5 Nov 2012 10:37:57 -0800 (PST)








Thanks. I did get it to download. I entered a number greater than 0 in C1. Nothing happenned. Is it suppose to beep ?








a download is a strange source and therefore Excel disabled macros.




Enable macro and it will beep.






The macros are enabled. Still no beep.


Ok. I got it to beep. However, it only beeps once. Can this be made to beep continuously ?




Regards




Claus Busch




--




Win XP PRof SP2 / Vista Ultimate SP2




Office 2003 SP2 /2007 Ultimate SP2


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
Audible Alarm Marco w/Pop-up Message JustWork Excel Programming 2 April 7th 07 01:56 AM
Audible alert for cell condition... Brad Excel Programming 1 November 3rd 06 07:31 PM
Sound / Audible Alert in a Woksheet ? carl Excel Worksheet Functions 3 July 7th 05 09:17 PM
Adding an Audible Alert To A Worksheet carl Excel Worksheet Functions 0 July 5th 05 08:27 PM
audible alarm macros dkoco Excel Programming 8 November 22nd 04 04:15 AM


All times are GMT +1. The time now is 03:53 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"