I've made a reminder but I want to add a picture along with that reminder msgbox which has poped up. How can I add that? If possible, can I add any song/sound (ping) with the same?
creating a MSG box to be placed at the start of the code, i need the following reminder statements written in the message box. If the answers to all statements is Yes then proceed running the code.
1. Is the value date in Sheet Summary Correct? 2. Is the workbook free of errors, check sheet "Errors" 3. Are all the graphs up to date?
Sub Save_File() Application.ScreenUpdating = False Sheets(Array("SUMMARY")).Copy With ActiveWorkbook .Sheets("SUMMARY").Cells.Copy .Sheets("SUMMARY").Cells(1).PasteSpecial xlPasteValues .SaveAs Filename:="S:Recsdata ReportingRec StatsSummary Stats" & Format(Date, "yyyy\MMM") & _ "Stat Summary_" & Format(Date, "dd-mm-yy") & ".xls" .Close False End With Application.ScreenUpdating = True End Sub
I was just wondering if there was a way to get a particular cell to play a sound when it is entered? I have a brain wave and am just wondering if it is possible.
I am trying to add sound to a cell where there is a result from a formula. I want to add a siren notification sound when a child achieves a club record for an athletics event. At present when a record is broken a formula notes a CR in the cell adjacent to the athletes result. I have searched the forums and found the below code which works. Firstly how do I change the beep to a siren (I have downloaded a siren from clipart) and how to I change the code to include cells D7 down to D30....
I have a few dozen pictures created when a macro runs. They all have unique names. I'd like to add comments to cells, where the cell.value decides which picture to pull. All the examples I've found online show how to do this if you have pictures saved on your hard drive by referencing the file path "c://mydocs/...blahblah/"
Is there a way to reference the pictures I've created/named with my macro?
Here's the snippet of code that creates the pictures and names them:
Code: For i = 2 To Application.CountA(Sheets("Allocation").Rows(1)) Sheets("Allocation").Activate Set rInput = Sheets("Allocation").Range(Cells(1, i), Cells(10, i)) sPicName = "_" & Sheets("Allocation").Cells(1, i) & "_" sSheet = Sheets("Allocation").Cells(3, i) dDate = Sheets("Allocation").Cells(5, i)
[Code] ......
Here are some examples that are close to what I'm looking for.
VBA Popup Pictures - 1108 - Learn Excel from MrExcel Podcast - YouTube VBA Express : Excel - Add pictures that float like comments.
I have a spreadsheet which contains 2 drop down pick lists in Field1 and Field2.
Code: FIELD1 | FIELD2 | FIELD3 -------------------------------------------- In Cell A2, I have this set in Data > Data Validation:
Allow: List Source: =CatList
If the user selects a value from the CatList range, then the drop-down options in Field2 are updated accordingly.
In Cell B2, I have this set in Data > Data Validation:
Allow: List Source: =INDIRECT(A2)
The Ranges are as follows:
Code: Cat1 | Cat2 | Cat3 --------------------------------------------- Cheese | Hat | Square Trees | Cat | Circle Bees | Sat | Triangle Knees | Mat | Rectangle Apologies | Bat | Octagon
I'd really like to be able to add a message into FIELD3, which is based on the value in Cat2
e.g. using pseudocode, something like:
If Field2 value = "Apologies" then put this message in Field3: "This requires approval from A" elseif Field2 value = "Triangle" then put this message in Field3: "This requires approval from XYZ" elseif Feidl2 value = "Bat" then put this message in Field3: "This does not require approval"
Basically this is for an access form, and I need to be able to add a feedback message to field3 based on what's in Field2.
I thought about using the INDIRECT option to add messages but I can't see how I'd do it. Maybe VB would do it, but I don't know it well enough.
Macro that automatically runs a task when the workbook is opened. I want it to keep track and monitor the due date so that a Pop-up Reminder can be triggered. By the way, is it possible to display a image as well? Pls take a look at my attachment for better understanding.
In Excel 2010, is there any way to paste a picture into a small picture/diagram box, and upon double clicking the picture it would explode to a larger size? And I guess double clicking it again would make it return to its original (smaller) size. I would be pasting several pictures into several different picture/diagram boxes and would need this to be a relative reference so that upon selection it explodes the appropriate picture?
Every other Friday, I need to submit my biweekly work hour sheet to manager. For example, as 12/21/2007 is Friday and pay day, I need to submit my sheet. Next time is two weeks later, 1/4/08, and on. 12/21/07 is the first event.
I want to create a conditional format, or workbook events, or worksheet events to remind me on that Friday when I open that book or activate that sheet.
I have got a workbook were I register our personnel. In one sheet I have listed all our personnel and the dates their contracts expire.
Now this is what I am looking for:
Between 15 days and zero daysbefore someone's contract expires I want a pop-up telling me so. The person's name has to be in the pop-up.
I already got this Private Sub Workbook_Open() Dim c As Range For Each c In Range("E2:E126") If c > -15 And c < 0 Then MsgBox c.Offset(, -3), vbOKOnly + vbInformation, "LET OP! Einddatum contract nadert!" Next End Sub
I want the pop-up only when I open the workbook(not everytime I change something in the workbook)
In the workbook are more sheets, the code I have only works with one sheet.
I have a task follow-up sheet that I have made for my manager, where I need I have a column to set the date when the item is entered or the date the item was discussed in meeting, etc. Then I have an additional column with "due date", here I select the date that the task needs to be completed or the date when I should be getting feedback.
What I would like is to have a pop-up that opens and tells me which tasks are due today. This could happen as perhaps a check everytime that I open my Excel file.
I realize that a conditional formatting can be used, to change the color and highligh items that are due, but I really want a pop-up, this will really make my life easier and communication to my manager easier as well. Plus my manager could use this file without me present. Allowing for less meetings to discuss list.
I want to have a sample file in excel which store picture of student in comment, I did this, but when I want to insert picture the file dialog appears, and if I click cancel, then there is an error, why? If some one optimise the code it would be very nice
I have 4 employees who at the end of their shifts have to email me an excel workbook. The issue is that some of them are forgetful and after placing numerous post-it notes on their monitors one particular employees just forgets.
What i want to do if possible is that when the workbook gets closed, a pop-up window shows up on their screen reminding them to send the workbook. Even better would be if their was a button that they could click that would email the workbook as an attachment in the pop-up box.
Column B on worksheet3 has a list of dates on it. Column C states set reminder. Column D states how many days before reminder i.e. 3, 7, 10, 14. If the reminder is set to on. Can VBA code be run when the Workbook (or worksheet) that checks this criteria then a pops up is displayed outlining the event (say Cell A)?
Also is it then possible to have on the pop up - Go to this event (i.e. row of data?)
I want to create an Excel file, which would create alerts/reminders based on dates specified in certain cells. I want to create a database of various events (for ex. Invested in XYZ stock at $10 per share) and put a date in one of the column of each record. I want excel to remind me to take a look at that record after, say, 30 days.
i would like to know if Excel offers a feature whereby reminders for instance to call a client will pop up when you open a particular file? I am not referring to the comments tags that one can insert. I am looking for a type of pop up screen function ?
The following code is part of a reminder system I have, for birthdays, anniversaries, due dates, etc. The portion of the code works fine unless I change the offset col from 3 to 4. When the msgbox opens, while 3 is being used, it picks the information in the correct column. But when I change the 3 to a 4, it displays a blank, even though the next column has a number in it.
Works:
Code: MsgBox c.Offset(0, 1) & " is in 1 days. They will be " & c.Offset(0, 3) & _ " years old.", , "Reminder for " & Month(c) & "/" & Day(c) & "/" & Year(dates) Doesn't work:
Code: MsgBox c.Offset(0, 1) & " is in 1 days. They will be " & c.Offset(0, 4) & _ " years old.", , "Reminder for " & Month(c) & "/" & Day(c) & "/" & Year(dates)
I have done the above where when I select a picture name from a drop down list it displays the relevant picture in another cell by using the IF function in the named formula
My question is why cant I use VLOOKUP instead of IF in the named formula. When I use it it comes with an error.
I'm using the following code to do conditional delete row, but would like to add a message box to confirm the "delete" with a Yes/No msgbox. I'd like to have the macro exit when the user clicks "no" but I'm missing something here.
i have an excel sheet which contain some standardized chemicals with due date for standardization i want excel sheet sending email for outlook email list if the due date is older than today by 2 days. my work and i'm not clever using macros and VBA the file is attached
i have saved some pictures in my excel sheet. in the next sheet i want that when i write the picture name the picture will appear as vlookup helps in the getting text and nos. can i do this with pictures or i tried to get to much from excel.
Would like to find a formula or macro which would automatically send an email to let me know when a date entered into the specific cell is coming close to expiration. e.g. if the date 01/05/2014 is entered into a cell i would like an email to be sent to me a month before the date is reached (01/04/2014).
I am mostly using excel for simply data gathering and tracking. Require exact steps to be followed to accomplish the following:
Exact Requirement:
- Sending automated reminder mails if current date is 15 days prior to "TO" Date - Sending automated reminder mails if current date is 10 days prior to "TO" Date - Sending automated reminder mails if current date is 05 days prior to "TO" Date - Sending automated reminder mails if current date is same as "TO" Date
Also, would be great if automated mails can be released if current date is 1 day past "TO" Date and showing "Overdue" in "Status" Column.
Below is sample data which gives an idea of the data kept and the requirement.
Exception ID Requester Email ID System Name
[Code] ........
OS Detail- Windows 7 Microsoft Office - 2010 Microsoft Outlook- 2010
I am putting together a price list in excel and using images and hyperlinks to jazz it up a bit - what I am finding is that if I insert a 25KB GIF image, the excel file grows in size by over 100KB
why is this disproportionate growth happening and is there a way around it - I dont want my Price List growing too large but need the images....?
Private Declare Function PlaySound Lib "winmm.dll" _ Alias "PlaySoundA" (ByVal lpszName As String, _ ByVal hModule As Long, ByVal dwFlags As Long) As Long
Private Sub Worksheet_Change(ByVal Target As Excel.Range) If UCase(ActiveSheet.Range("S41").Value) > 99 Then FName = "C:windowsmediading.wav" Call PlaySound(FName, 0&, SND_ASYNC Or SND_FILENAME) End If End Sub
but I cant get it to work!
All I want is for it to play a sound when My Value in S41 goes over the Value 99 the value is part of a simple formula of sums.