+ Reply to Thread
Results 1 to 3 of 3

Ding sound when value in entered in a cell

  1. #1
    Registered User
    Join Date
    12-01-2009
    Location
    San Francisco, California
    MS-Off Ver
    Excel 2003
    Posts
    8

    Ding sound when value in entered in a cell

    Hi,

    I have no background in VBA programming so I would just like to ask if somebody can help me with a VBA code on a worksheet level that gives off the MS Windows "ding" sound when values have been entered to specific cells, i.e., ding sound when value has been entered on cell B50, also ding sound when value has been entered on D130, and so on.

    Appreciate any kind of help on this.

    Gerard
    Last edited by Gerard_Sanchez; 05-11-2010 at 01:46 AM. Reason: SOLVED.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Ding sound when value in entered in a cell

    1) Right-click on the sheet tab and select VIEW CODE
    2) Into the sheet module that appears, place this code:
    Please Login or Register  to view this content.
    3) Edit the underlined string of cell references. You've been shown how to indicate a several single cells, a range of adjacent cells and an entire column. Edit that to be a complete list of all the cells to watch on this sheet.
    4) Now still in the VBEditor, select Insert > Module to add a new empty code module
    5) Paste in these codes:
    Please Login or Register  to view this content.
    (source)

    6) Press Alt-Q to close editor
    7) Save as a macro-enabled workbook.

    Now try changing the values in the cells you chose.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Ding sound when value in entered in a cell

    Some other simple sounds that might be nice:

    Please Login or Register  to view this content.

    And of course you can drop any sound file you want into the C:\WINDOWS\Media folder and use that as well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1