msgbox formatting

  1. C

    MsgBox change value

    Is it possible to change the a cell value using a msgbox? A macro runs and asks user if the quantity in cell is correct. If user says no, it will point to a new macro to change cell value. But it does not work. The cell with which the qty is in will constantly change as the main macro pulls...
  2. K

    Can someone help me with my coding to return error box only one time and also to create msgbox as Critical?

    Hello, I am attempting to create an error message msgbox in an Excel workbook/worksheet. I have the coding to create the msgbox but if the error is on the worksheet multiple times, it shows the error multiple times. I have tried using alreadyprompted coding to stop this action but I'm having...
  3. J

    Data Validation on InputBox

    I would like to only allow the user to enter a date in the inputbox in the format of 'mm-dd-yyyy'. If they do not I want to send msgbox. Here is what I have, just am unsure of how to get the validation. Sub Populate_Date()On Error GoTo NotValidInput Dim myvalue As Date myvalue = InputBox("Enter...
  4. D

    How to display value in MsgBox

    Hi, I need the message box to display the content "Date 14/2/2105 has been selected". I have used the below code and used LDDate function to get the date. Code: MsgBox ( "Date" &LDDate1.DateString &"has been selected",vbOKOnly ) I'm getting the error notification stating "Complier Error...
  5. P

    Customizing Message box using excel VBA

    Hi All, I've a message to be displayed on a button click. The below macro is assigned. Sub getmsg() MsgBox "The store " & Range("C7").Value & " is from " & Range("I3") & " and the sales is " & Range("C9") End Sub What I need is if the sales>=40000 the sales value displayed shpuld be green...

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