Results 1 to 2 of 2

Thread: tracking changes and prompt user

  1. #1
    Member
    Join Date
    Nov 2011
    Posts
    41
    Rep Power
    0

    tracking changes and prompt user

    hi all,

    i have an some data on a sheet and there is a combo box on selection change in combo box i want to give a msg to the user that he has made some change do he want to save changes or not, if he made any change in the range i have set.



    thanks in advance

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    Code:
    Private Sub ComboBox1_Change()
    
        If vbYes = MsgBox("You have made a change. Do you want to save it?", vbYesNo, "Save Change?") Then
            ThisWorkbook.Save
        End If
        
    End Sub
    Attached Files Attached Files
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. UDF (user defined function) replacement for Excel's DATEDIF function
    By Rick Rothstein in forum Rick Rothstein's Corner
    Replies: 21
    Last Post: 03-07-2015, 09:47 PM
  2. Make Text to Numbers Code More User Friendly
    By mrmmickle1 in forum Excel Help
    Replies: 10
    Last Post: 11-20-2012, 06:19 PM
  3. How to track user activity using a macro?
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 4
    Last Post: 08-10-2012, 06:50 PM
  4. Replies: 3
    Last Post: 10-10-2011, 01:46 PM
  5. Adding A Menu Bar To A User Form
    By Rasm in forum Excel Help
    Replies: 14
    Last Post: 05-05-2011, 04:05 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
  •