I don't really know if this is possible or where to start (which is probably why I can't search for it very well)
I have a workbook with a number of identical worksheets (one for each month) - each worksheet has data that can be entered into about 30 columns via drop down. Each column then...
Hi,
I want a box to pop up when a worksheet is activated to alert the user to delete the sheet if they are not using it. So far I have:
Private Sub Worksheet_Activate()
MsgBox "Not using Census Data? Delete this tab!", vbInformation + vbOKOnly, "WARNING"
End Sub
I'm feeling a bit stupid -...
Hi All, despite much searching and trials I almost have what I need but cannot work out the last bit.
I have 7 sheets as part of a training course session for each day of the week and two other sheets that have various stats on them drawn from the formula on the Monday to Friday sheets.
The...
Hi all
Hope someone can help with what I trying to do.
What I would like (and have no idea where to start) is when a user updates a cell in my worksheet that the code looks at the cells at the top of that column and if one is greater than the other produces a message box.
Ie: User updates...
I have multiple worksheet event macros on my sheet. When selection Y/N is unlocks or locks respectively and a message box appears based on the selection. For some reason my macros 3-6 repeat the previous message boxes starting with the message box in the 2nd macro. The first and second macros...
Hello All,
Thank for for helping all those who are in need!
I created a macro where it looks at the all required fields and then emails to approver. I have the same command button to trigger email function from requester to approver to final user.
My issue is I need approved message box only to...
HELP PLEASE. I don't think like a programmer, hence my question. I have an excel spreadsheet and I need to add a pop message based on the value of cell (for multiple cells). I know this is easy for most. I'd appreciate all the help I can get.
Dear All gurus,
I am working on a excel file, which a bit large.
I have to scroll left right to identify any negative values.
Instead i am thinking if it is possible by Clicking on a button to
>identify the cell having the negative value
>Select the cell
>Show it in message box (a message box...
Hey Folks,
I am trying to get a pop-up box to appear when a linked cell goes below a certain value....
On the code below cell "S15" is linked to my "Sheet1, cell C5", but when the value of C5 goes below 10, it should display a pop-up, but doesn't. Can anyone help me with the additional code...
Hallo. After using the autofilter, the visible cells text values should be returned on message box. My initial code is below. The problem is that it returns only 1st visible cell's value.
Sub Wood()Dim rngVisible As Range
Dim xStr As String
Set rngVisible = Range("A2:A" & Cells(Rows.Count...
Hello Experts!
I am having a problem when it comes to ranges and message boxes.
To give you a picture, if excel finds a "False" text in col B, then it will display the message in col C.
If there are many noted "False", then it will display all the messages in col C.
Example
A...
Hi,
I have a workbook where they will be either a YES or NO Value in columns E, F or G. There will mostly be all NO values, but if there is a YES, i would like a message box to pop up and say "There is a negative fund, investment, or source!".
This is what i'm using now, but the message box...
Hello All. I apologize in advance if this question gets a little long. I have a spreadsheet that contains a macro that will send the desired cells from the sheet as the body of an email.
Sub Email()
ActiveSheet.Unprotect
ActiveWorkbook.EnvelopeVisible = False...
I have a spreadsheet that will be open all day and contains a list of times with corresponding data in adjacent columns.
How would be best to pick up the first time and have a message box appear at that time which displays information in the adjacent cell, then pick up the next time in the row...
The following code of mine is not running:
Sub Blank_Cell_Alert()
Range("A2").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Name = "MyRange"
ActiveSheet.Name = "MySheet"
If...
I would like to make the combination of UserForm and MessageBox but stuck with the code, can anyone help to rewrite the code correctly?
Private Sub CommandButton1_Click()
If MsgBox("Are you sure?", vbYesNo) = vbYes Then
Dim lRow As Long
Dim ws As Worksheet
Set ws = Worsheets("Sheet1")
lRow...
Hi,
Sheet1 has a button that when clicked shows a message box. I would like to show in the message box values from sheet2 withing range A1:A4. This should be in a format of list with lines ...
line 1 = cell A1
line 2 = cell A2
.
.
This range has dynamic values and sometimes some cells are...
Good Day,
I'm hoping someone might be able to help me with an issue I am having with my employee attendance chart. Basically, I have two Charts that track an employee's vacation days and their personal days. One chart is the named Calendar, which I input if they've taken a Person (P) or...
Hello,
I'm currently working on trying to have a warning box that indicated when the drop downs have not been selected, but I'm coming back with too many formulas for this one box.
Currently I have:
=IF(AND(B4="Choose Current Grade", B6="Choose Proposed Grade", B8="Select Geographic...
I'm trying to get multiple lines in the same message box in VB script, I can get it to work in 2 different message boxes for now but would like it in a single box, my code is as below
MsgBox "E-mails successfully sent :" & Counter, vbInformation
MsgBox "Time taken: " & DateDiff("s", strtime...
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.