Message Box With Two Cell Values?
Oct 5, 2013
Is it possible to have a message box with two values? I've had a good look around but have drawn a blank so far. This works perfectly for the bank balance cell value:
VB:
Sub Bank_Balance()
Dim MyNote As String, Ans As Variant
MyNote1 = "Bank Balance = £" & Range("G2")
[Code]....
But I'd like to see the date in there as well which is pulled from cell H2. Tried this but it doesn't work:
VB:
Sub Bank_Balance()
Dim MyNote As String, Ans As Variant
[Code].....
View 3 Replies
ADVERTISEMENT
Mar 25, 2012
I am trying to put a message box related to a cell if a threshold values is reached.
E.g.: Cell A: 85
If cell A values moves to 86 I am trying to put in a message that says something like " This value is not allowed". Is there a way to do this ?
View 8 Replies
View Related
Apr 8, 2009
Im working on a workbook at the moment and would like to know if it is possible to display a text box if a field has a "True" value and in that text box have the details of the entire row that the true value is found.
Is it also possible to show the detail of multiple rows if more then one true value is found.
View 9 Replies
View Related
May 13, 2014
Dbod_BUDGET_TEMPLATE_NEW_test popup.xlsmHi,
I have created a budget template. In some instances, a discount is offered when more that x amount of products are ordered ( it varies,so I'll have to change the macro for each instance). I'd like to have a pop up box appear ( and dissapear again when pressing 'enter') that gives a notification like: a discount is applicable, select'
my cell with entered amount is "I54", and want a message if entered above 5
I tried the below and swapped places between sentence 1 and two as it doesn't seem to recognize subname, or sub start, or it just dissapears from my macro list ( although still a module): ( in the below order, it stated it expects the sub to end after sentence 1, if i remove sub popup () ( the title) ut just deletes the thing from my macro lsit,w hat is goign on!, and it just wont work)
'Sub popup()
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
[Code]....
View 1 Replies
View Related
Dec 4, 2013
I've been looking for a solution to highlight all duplicates within a certain column across all worksheets in the workbook as the entry is made, no button to search for them. I have found bits and pieces, but can't seem to stitch them together to create what I am looking for, still very green with vba.
My workbook is a loading schedule at a warehouse, so there is a tab for each day (the date being the tab name, ex. '12.04.13'.) Tabs are continually added and removed to progress the calendar, and minimize file size. The column I am searching for duplicates in, is column L (or 12, however you wish to identify it.) If a duplicate value is entered, I want at the very least to highlight the value just entered, and the value elsewhere on the workbook, and if possible, have a msg box pop up stating the location of the other duplicate (or at least the tab (date) the duplicate is on.) The message box is more so for an in your face error check, with a built in GPS. Would it also be possible to only search from row 2 to 100, and ignore any further rows on each sheet?
The point of this, is to locate duplicates to make sure an appt has not been double booked, and both entries can be located to verify which entry has the correct information (carrier, delivery appt, etc.)
View 9 Replies
View Related
Oct 23, 2011
I would to make a macro to put a message in bold and red at the top of a cell leaving the cell wording intact.
input message "Double click on cell and cursor down to see complete cell"
View 4 Replies
View Related
Apr 19, 2007
How do I use an IF statement with a formula so that my cell does not display #Value?
View 2 Replies
View Related
Mar 31, 2009
What I want to do is very similar to a Data Validation message, where a message pops up when you select a the cell. I want that message to be the value of another cell in the same worksheet.
I would also be open to a solution where you simply mouse over a cell to see a comment/message.
View 9 Replies
View Related
Jul 10, 2006
My Cell C3 is a numeric value..I have set conditional formatting to make the text red and bold when the number is equal or less than 10,000 is there a way I can make cell E3 display a message when the C3 condition is true?? or if not a message is there a way to make a message box pop up when my C3 condition of less then or equal to 10,000 is true?
View 6 Replies
View Related
Dec 8, 2012
When I click a cell (say A1) I want a specific message to appear in another cell (say B1); when I click A2, a different message should appear in B1 (basically B1 will be my display zone). The reasons I need it as such are that the sheet is a calendar and so putting all of the messages in would look ridiculous, and I really need a static position (B1) for the messages.
View 9 Replies
View Related
Apr 2, 2009
I have a range of cells and I would like a warning message to pop up if a value over 0.1 is entered. I'm sure it is pretty easy to do, just can't find any info on here and I'm not great with Excel.
View 2 Replies
View Related
Oct 8, 2009
I have the below macro designed to display a message box if a cell in the range specified is greater than the value in the designated cell (BF7). In the message, I'd like to include the value for the cell in another column, from the same row as the cell that met the condition.
For example:
Cell E11.........Cell BF11........Cell BF7
Mark....................1.......................0
What I want the message box to say: Mark worked too many days.
I understand how to include a cell value like so:
View 2 Replies
View Related
Aug 29, 2008
What i want is for a message box to appear automatically when the workbook is opened ONLY if Cell C4 (which is merged to F4)...
If there is information in this box then do not run macro
in the message box I want a box you can type in that will enter that information into cell C4. I know I will have to us a user form but what is the code I need?
View 9 Replies
View Related
Sep 4, 2008
I have a range C20:C38
In this range I have 15 codes that can be put in. If one of these codes is typed in incorrectly then a message box will appear stating "this code is incorrect please re-do"
can anyone help?
a few of the codes are
"S" "F" "O"
View 9 Replies
View Related
Aug 3, 2009
I have used to code below to active message boxes for 3 different cells - however the 2nd and 3rd time the code is not working....
View 9 Replies
View Related
Sep 15, 2009
I am looking for VB Code / Formula which will does the following:
Before the Cell is selection; it will shows a message for guidance purpose; but the moment the same is selected; the Validation list which I prepared will appear.
For Eg: before the Cell is selected; it will show as"< select from drop-down list>"; but the moment cell is selcted; the normal validation list will appear.
I know that there is Input Message option in Validation List; but this appears only when the cell is selected. I am looking for message which will appear before the cell is selected.
View 9 Replies
View Related
Oct 20, 2009
How can I send a SMS message to my cell phone if certain ocurrence happens in a cell. For example, if cell A1 = 1, then send a message to my cell phone.
View 9 Replies
View Related
May 17, 2006
How do I get a message box to pop up when a certain cell is selected?
View 2 Replies
View Related
Sep 23, 2007
i need a bit of code that will display the values of selected cells in a message Box D4 & D10 & D185 is this possible
View 9 Replies
View Related
Jan 16, 2008
Is there any code to pop up a message each time a cell value is not reached. For ex if the resulted formula in A1 is less than 0 to pop up a message "LOOSE"
View 4 Replies
View Related
Jul 11, 2009
How do you add icons into a message box. ie a warning triangle etc.
View 3 Replies
View Related
Aug 31, 2007
Actually I want a macro which gives a message box "Duplicate values"
when there are duplicate values(i.e if one cell of the column has same value as that of the other cell) in a particular column suppose it to be A
View 9 Replies
View Related
Nov 19, 2012
I am new to excel vba. I want to show a pop-up message when user tries to save the workbook keeping cell(1,3) blank.
View 1 Replies
View Related
Aug 23, 2013
I want a message box to pop up when a "certain" value(example "guest") is enter in a range(ex- a1:a20).
How can i accomplish this with a vba code?
View 9 Replies
View Related
Nov 2, 2009
I need help with a code to detect deletion of a cell's value.
In cell I10, a user can choose one of six items from a data validation list. Right now, I have code in there to pop up a message if the user selects value "X" from cells F6:F10 and G6:G10, but cell I10 does not have value "A", "B" or "C" already selected.
What I want, is if cells F6:F10 and G6:G10 have value "X" in them, and the user deletes values "A", "B" or "C" from I10 or changes it in any way after it has been filled, then to have a message box pop up.
View 7 Replies
View Related
Jun 12, 2014
I have the following code:
[Code] .....
This section:
[Code] ......
returns the cell that the date has passed in.
I would like it to return a different cell value in the message box, for example if J4 has passed its date, then B4 cell value is put in the message box instead.
View 3 Replies
View Related
Oct 22, 2008
I need to create a messagebox option which will appear whenever anyone open this worksheet. Anyone should write his/her name then only it should open. The same should be autometically written in the D1 cell.The date & time of opening the workbook should be written autometically in D2 cell. Then if the same person click the button "Finish" then his/her name should be written in D3 cell & Date & time of clicking the button should be written in D4 cell.
I have attached the sheet here
View 8 Replies
View Related
Jan 19, 2012
I have a sheet that has vast amount of rows and all I need is for a message prompt to appear if there is an empty cell in columns A to E and if possible the blank cells reference number to be displayed in the message prompt?
View 9 Replies
View Related
Mar 18, 2012
I am working on a spread sheet for work were we have to test certain items on certain days, e.g. one item needs to be tested every Tuesday & Thursday, when the test is completed you click on a drop down box and click on completed or in progress.
What I would like are a couple of things to happen as follows:
A message box would pop up when you open the file to inform the employee that the test is due today only on Tuesday & Thursday if not completed or in progress from the drop down box. Once you select completed or in progress from the drop down box the message box no longer appears. Every Tuesday & Thursday when it's first open it deletes the cell content, thus triggering the message box test is due today, and once completed or in progress it no longer appears until next Tuesday or Thursday.
The spread sheet is on shared drive and used by several users, let's just say cell A1 is the cell I have the drop down box
View 1 Replies
View Related
Feb 15, 2013
The macro below will randomly pick a cell (with names)and fill with color. What I want to add is after it pick a cell a msgbox with a name of that person with YES/NO, if YES fill color. I need it not duplicate once it has already selected that cell(person).
Code:
Function RandCell(Rg As Range) As Range
Set RandCell = Rg.Cells(Int(Rnd * Rg.Cells.Count) + 1)
End Function
[Code]....
View 9 Replies
View Related