+ Reply to Thread
Results 1 to 9 of 9

Need popup

  1. #1
    Registered User
    Join Date
    02-12-2013
    Location
    HYD
    MS-Off Ver
    Excel 2007
    Posts
    7

    Need popup

    i would like excel to generate an popup alert if ANY of my cells from E3:H16 is less than Number 40. Even I don't know how to enter in VBA script mode. I am new to xcel. Please advise. Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Need popup

    Hi.

    What if the cells are blank? Do you want the popup to appear if its blank?

    Check the code below. If blank I m not showing the msgbox. Pls do confirm if its ok.


    POPUPMSG.xlsm
    Last edited by jraj1106; 02-13-2013 at 01:41 AM.
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    02-12-2013
    Location
    HYD
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need popup

    No, there is no message. Please resend it.

  4. #4
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Need popup

    Check this:

    POPUPMSG.xlsm

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Need popup

    Hi, jraj1106,

    any explanation for the TO on how to run the macro would be welcome:
    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste

    To run the Excel VBA code:
    Choose Tools | Macro | Macros
    Select a macro in the list, and click the Run button
    @tasneem04:
    Are the cells filled with formulas or is the data entered directly into the cells?

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  6. #6
    Registered User
    Join Date
    02-10-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Need popup

    cell data is dependent on other sheets data... And Do, I have run the Macros every time I need to check. Canot this MACROS be automatically turned ON when the workbook is opened.
    Thanks Jraj n HaHobe

  7. #7
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Need popup

    Hi, khateeb,

    if the data is coming in via Query the macro could be run at the end of the import. Or the Worksheet_Calculate-Event could be used for checking if Excel started a recalculation (I think you would need to add a volatile function to the sheet as well).

    BTW: khateeb = tasneem04?

    Ciao,
    Holger

  8. #8
    Registered User
    Join Date
    02-12-2013
    Location
    HYD
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need popup

    sorry, to be off the desk... yes its me only.... tasneem khateeb....
    Anyways.. Thanks to all of you... My issue has been resolved.... thanks once again

  9. #9
    Registered User
    Join Date
    02-12-2013
    Location
    HYD
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Need popup

    Sheet summary2 has the table. And I am looking to compare and add the data (from all sheets Date 1 to Date31) . I am looking to add those values (yes as 1) in my summary 2 sheet for the range E3 to H14…
    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