+ Reply to Thread
Results 1 to 4 of 4

How to show MsgBox if a range of cells in a worksheet of a workbook is already comp.

  1. #1
    Registered User
    Join Date
    02-03-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    21

    How to show MsgBox if a range of cells in a worksheet of a workbook is already comp.

    Hi there,

    I'm working on a workbook with 3 worksheets and one of the worksheets, worksheet1 has a range of cells that is looked-up to the other cells in the other worksheets, worksheet2 and worksheet3. can anyone give me a sample code that automatically prompts a MsgBox once all of the cells in the cell range in worksheet1 is completed?.
    this is my code:
    Please Login or Register  to view this content.
    but when i put this code in worksheet2 or worksheet3 and enter a data in either worksheets the MsgBox keeps popping out even when the range of cells on worksheet1 is not yet completed and even when the cell in worksheet2 or worksheet3 is not referenced in the cells of worksheet1 and everytime i enter a data, the MsgBox keeps popping out. Please Help

    thanks in advance,
    Last edited by JBeaucaire; 02-04-2013 at 04:51 AM. Reason: Added Code Tags

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: How to show MsgBox if a range of cells in a worksheet of a workbook is already comp.

    Hi bigpappi. Place this code in the worksheet module for Sheet1. When you activate the sheet, it will automatically pop up a message if the range is complete.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-03-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: How to show MsgBox if a range of cells in a worksheet of a workbook is already comp.

    thanks a lot mumps1! the code worked perfectly...

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: How to show MsgBox if a range of cells in a worksheet of a workbook is already comp.

    My pleasure.

+ 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