+ Reply to Thread
Results 1 to 5 of 5

Prompting a MsgBox upon row/cell edit

  1. #1
    Registered User
    Join Date
    04-19-2012
    Location
    Knoxville, TN
    MS-Off Ver
    Excel 2010
    Posts
    18

    Prompting a MsgBox upon row/cell edit

    I have some rows that contain a checkbox in the first column. If that box isn't checked, I want the user to be prompted with a MsgBox when an edit is attempted on any cell in that row.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Prompting a MsgBox upon row/cell edit

    you can do this with some VBA code on the worksheet change event, could you supply a sample of this to work with?
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    04-19-2012
    Location
    Knoxville, TN
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Prompting a MsgBox upon row/cell edit

    Currently I have code that changes the color of the row depending on the checkbox status. By default the checkboxes are not checked and the rows are given a "grayed out" color. Once they check the box the row is made normal with white fill and black text.

    It's when the checkbox is unchecked that I want the MsgBox to appear when an edit on the row is attempted.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Prompting a MsgBox upon row/cell edit

    could you attach the workbook?

  5. #5
    Registered User
    Join Date
    04-19-2012
    Location
    Knoxville, TN
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Prompting a MsgBox upon row/cell edit

    I can't upload the actual workbook due to the information, but here's a basic one with essentially what's happening.
    Attached Files Attached Files

+ 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