Results 1 to 3 of 3
  1. #1
    justlearning123 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Jun 2015
    Posts
    17

    msgbox if cell changes from drop list


    was wondering if the is a way to program access so that if someone changes the cell by a drop down list to the word "Updated" then a message box appears?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,960
    If working directly with table, then maybe with a data macro.

    Otherwise, use After Update event of combobox on form.

    Access has fields, not cells.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    And end users shouldn't be entering data directly into the Table. So, in a Form

    Code:
    Private Sub ComboboxName_AfterUpdate()
     If Me.ComboboxName = "Updated" Then
      MsgBox "Whatever message you want goes here"
     End If
    End Sub

    Replacing ComboboxName with the actual name of your Combobox Control.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Help with drop down list
    By Wlbyfred in forum Forms
    Replies: 5
    Last Post: 05-21-2013, 10:54 AM
  2. Replies: 11
    Last Post: 08-25-2012, 12:36 PM
  3. Replies: 4
    Last Post: 06-16-2011, 09:30 PM
  4. List all values in one cell?
    By Remster in forum Queries
    Replies: 5
    Last Post: 12-17-2010, 04:33 AM
  5. drop down list
    By tceicher in forum Access
    Replies: 5
    Last Post: 08-13-2009, 05:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums