+ Reply to Thread
Results 1 to 7 of 7

Popup/Notification Box comparing cell data across multiple worksheets

  1. #1
    Registered User
    Join Date
    03-27-2015
    Location
    los angeles
    MS-Off Ver
    2013
    Posts
    40

    Question Popup/Notification Box comparing cell data across multiple worksheets

    Hello All,

    I'm having difficulty with a cell comparison popup/alert. I have 100+ worksheets in 1 workbook.

    Column A contains text I need to show, Column C contains a fixed numerical cell, Column D contains a variable numerical cell (Data is pulled externally). This data starts at Row 22. If inventory in Column D is less than Column C, I want the alert to show when opening the workbook.

    The popup/alert i'm attempting to create should show a message when opening the workbook, scanning through the 100+ worksheets and showing the alert:
    "Apples inventory are 15 out of 30"
    "Bananas inventory are 5 out of 50"

    Apples = Column A, Worksheet 1
    Bananas = Column A, Worksheet 2
    15 = Column D, Worksheet 1
    30 = Column C, Worksheet 1
    5=Column D, Worksheet 2
    50=Column C, Worksheet 2


    Any help with a simple VBA or anything? The code I'm running only works on a localized worksheet and not through the workbook, nor does it show Column A in the alert box.

    Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Re: Popup/Notification Box comparing cell data across multiple worksheets

    Can you post a sample file?

  3. #3
    Registered User
    Join Date
    03-27-2015
    Location
    los angeles
    MS-Off Ver
    2013
    Posts
    40

    Re: Popup/Notification Box comparing cell data across multiple worksheets

    Attached is the example file - without the code.

    Code I used was similar to this:
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-27-2015
    Location
    los angeles
    MS-Off Ver
    2013
    Posts
    40

    Re: Popup/Notification Box comparing cell data across multiple worksheets

    Anyone have a better idea or way of doing this?

    Thanks!

  5. #5
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: Popup/Notification Box comparing cell data across multiple worksheets

    Hi,

    Try this macro. You will see the results in 'Result' tab.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-27-2015
    Location
    los angeles
    MS-Off Ver
    2013
    Posts
    40

    Re: Popup/Notification Box comparing cell data across multiple worksheets

    Abduljaleel.mca,

    Thanks for that! Looks great except i'm looking more for an alert box that shows me the inventory vs adding another sheet.

    This gives me a good base to work with however, I may be able to code in a msgbox for this or something.

    Thank you!

  7. #7
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: Popup/Notification Box comparing cell data across multiple worksheets

    I have updated the code, it will show the output in alert box.
    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)

Similar Threads

  1. Comparing Multiple Sets of Data and Returning Appropriate Cell
    By boyko59 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-07-2016, 12:32 PM
  2. Popup Notification
    By myounus17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2015, 02:32 AM
  3. Multiple Notification Messages based on Cell Time Values
    By instien in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2013, 10:51 PM
  4. Excel Userform Popup Notification
    By mwo in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-18-2011, 11:50 PM
  5. Replies: 5
    Last Post: 04-08-2010, 01:01 AM
  6. Excel: Multiple worksheets - comparing text values
    By lmeinke in forum Excel General
    Replies: 2
    Last Post: 07-02-2008, 02:35 PM
  7. Comparing data in multiple worksheets
    By bundyloco in forum Excel General
    Replies: 1
    Last Post: 05-17-2005, 01:15 PM

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