message box

  1. D

    Errror message

    Hello everyone i need a small piece of code. for example in column c i have alpha numeric characters like "PLN5555" so i need a code that prompts me error message when i type alpha numeric characters less than or greater than 7characters. any one can help me out in this. thanks in advace
  2. E

    check if the parallel cell is empty and display warning in msg box

    Hi all, i have been working on a creating a macro to find specific name in column G and wanted to check if the the cell right to the current cell is empty. if empty warning should be displayed. Detailed explanation: In my sheet in column G i have enter 'A' 'B' and 'c' randomly till row 1200...
  3. E

    find empty cell from specific cell ranges and display result in msg box.

    Hi, i have a case where i wanted to find if there is any empty cells in the specific range of cells. if the macro find any empty cell it should show the cell names in message box or the empty cell can be highlighted, if there is no empty cell then"NO EMPTY CELLS FOUND" should be displayed in...
  4. N

    VBA for Message Box Upon Active Cell Value

    I have a file with drop downs. The goal is to remind users to enter a response in column K (root cause) if the option "Employee Error" is chosen from the drop down in column H (Cause). How do I make a message box appear saying "Please enter a root cause" once a user chooses "Employee Error" in...
  5. M

    How to make msgbox display total found

    Hi.. I got this formula in B column which calculating value on F column... =IF(F2<=TODAY(), "EXPIRED", IF(AND(F2-TODAY()>0, F2-TODAY()>=10), "ACTIVE", "REMINDER")) By using VBA code, how can i have a message box that tell me such like "62 REMINDER found to update"? Thanks..
  6. B

    How to record values in a For loop to be displayed by a message box after the loop is done

    Hi, I'm not sure how to progressively add values that meet a certain condition into a message box, but I think it's possible. a = integer a = 1 For a = 1 To 21 If ActiveCell.Offset(a, 15).Value = ActiveCell.Offset(1, 11).Value Then MsgBox ("This " &...
  7. B

    How do I assign string variable values across multiple subs and modules once?

    Scenario: I have 3 subs inModule 1. Each one of thesesubs uses some but not all of 5 available variables. All Strings. Instead of pickingand choosing which variables to define in each of the 3 subs, I'd like tocreate 1 more sub in Module 2. This sub would be called at the start of each ofthe 3...
  8. G

    How do I assign string variable values across multiple subs and modules once?

    Scenario: I have 3 subs inModule 1. Each one of thesesubs uses some but not all of 5 available variables. All Strings. Instead of pickingand choosing which variables to define in each of the 3 subs, I'd like tocreate 1 more sub in Module 2. This sub would be called at the start of each ofthe 3...
  9. C

    Adding message boxes to more than one cell

    Hi, I have this code to produce a message box when a cell is selected: Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("K26")) Is Nothing Then _ MsgBox "INC000011108068 " & "- Pending Issue", vbInformation, "Joseph Waheed" End Sub How...
  10. D

    VBA Message box to appear if Cell value changes before a certain time.

    Morning, I need to get a message box to appear if a cell value changes from a "O" to a "C" before 17:00 on any given day. After this time the message box does not need to appear. So basically the VBA equivalent of if A1 value = "C" and Time<="17,0,0" then message box "A1 =C" Any help would be...
  11. P

    Help needed with VBA code

    Hi, I am trying to write some VBA code that says: If cell L92 contains any value other than yes end script, however if L92 equals yes then i want to check if L95 is blank, if L95 is blank display a message box, otherwise end script. Thanks for any help!
  12. B

    Macro for creating message box at very particular intervals

    Hello everyone, Firstly, I understand that this coding might be a bit of faff so I'm more than happy to do the grunt work myself if someone could show me the barebones of how to do it. I would like to create a macro which shows a message box when specific rows in column B are filled. The...
  13. I

    HW involving For-Next loops, wage doubling, input boxes, message boxes.

    Think you can solve it? I'm stumped on a homework assignment with VBA. The question goes as follows.. Write a VBA program using For-Next loops to find out how much money you would be paid, if your starting pay was a nickel and your paydoubled every day for a specified number of days. Input...
  14. J

    how to put hyperlink on message box

    Sub Report() MsgBox "Report is ready to use" End Sub So far I have something like this, but I would like to add a hyperlink of report's path. If the report's path is C:\Program Files\Acute Data_1000.xlsx is it possible to include a hyperlink on the message box? Thank you!
  15. T

    Data validation to column where value is not entered but a lookup formula

    Hi, I'm having trouble trying to add data validation messages as the column of the value is a lookup in another worksheet. so the user will not enter the value. I essentially want to add a two message, if the value is under <$5,000 then Message 1 and stop if the value is <$10,000 the Message 2...
  16. M

    Message box go to cell

    Hello all; I have a macro searching for errors throughout a worksheet. When an error is returned a message box is displayed indicating the location of the error. I would like the box to center over the offending cell. Is this possible? What I have so far is Sub CheckNames() Dim r As...
  17. andrewb90

    auto close vba not closing

    Hello all, I've been searching online to see how to get a message box to close automatically, The code appears to be what I need, however when I run it, the message box doesn't close. any thoughts? Sub message()MsgBox "hi" Dim AckTime As Integer, InfoBox As Object Set InfoBox =...
  18. R

    VBA code to pop up multiple messages from multiple rows

    Hello, So i will have data updating in mutlple rows everyday. What i want to do is when the value "5" pops up in a column (k), a message will pop up saying something like "tote #49 (the tote number is in the same row, column H) will expire in 5 days". I want to do this also for 4, 3, and 2...
  19. R

    Command button to activate message box with warning report

    I've spent ages searching online for something that might help my application but I can't find anything. I'm trying to create a command button that acts as a warning indicator for its respective worksheet. Pressing the button will display a list of warnings present in the spreadsheet...
  20. A

    MsgBox

    Hi Everyone, Im trying to have a message box state how much someone has overspent by, which works.. but it specifies that everyone has overspent (overspending by -£200), meaning that it opens a MsgBox for each person specified in the document (opening 18 MsgBox's in total). Is there any way i...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top