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
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
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!!
No, there is no message. Please resend it.
Check this:
POPUPMSG.xlsm
Hi, jraj1106,
any explanation for the TO on how to run the macro would be welcome:
@tasneem04: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
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
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
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
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
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…
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks