Automated Pop Up Message When Entering Certain Values To Notify?
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
I work in a fruit and veg business and they are using parchment and quill still, well it certainly feels that way. I have been asked by customers to provide an online order form which i will email to them and they can fill in and email back, i scanned an invoice and used OCR to upload it to excel and it has come out quite well.
Basically there are three columns of product lines and then directly to the right of each product is a column i have entitled Box & KG respectively, if the customer types a number into the box column i want it to automatically add 'Bx' to the end so this if they typed 5 in a cell in the box column it would look like this '5 Bx' (obviously without the quotes), and the same for the KG column but it would denote 5 KG instead, also i would want it to add in the space as well after the value.
I have two tabs BIN QTY and ORDERS. On the ORDERS tab Column A is the order number and is duplicated several times depending how many line items are on the order. The second key is Column H which is the part number which is unique per sales order. I'm trying to use these two values to look up or find the matches on the Bin Qty tab.
-The data in Column A (order tab) gets compared to Column B (BIN QTY tab) -The second match is the Item no. Data Column H (order tab) to Column C in (BIN QTY tab).
-Once both values match it needs to pull the value from column G (BIN QTY tab) and enter it in column N (ORDERS tab).
My example is highlighted in blue with the result in green. I've tried several different index and match formulas with no luck. my Last was
=IFERROR(INDEX('BIN QTY'!$G$1:$G$7957,MATCH(ORDERS!$A1,'BIN QTY'!$B$1:$B$7957,0), MATCH($H2,'BIN QTY'!$C$1:$C$7957,0)),0) MY ORIGINAL SHEET IS MUCH LONGER
I have a VBA module in Access that extracts data and copies to an Excel spreadsheet. Every time I run the code additional data is extracted and displayed on a chart together with previous data. When I enter values to the series collection the first axis be it X or Y is entered correctly but the second axis produces error 1004 'unable to set XValues property of the series class' If I swap the lines of code around the error switches to 'Values' (y axis)
I tried to make use of the indirect function but don't think this is the right type of formula to be used.
Essentially in column A..i have linked cell references
e.g = D2767 However, for the whole of the column I'd like to change the refs to =$D$2767, ALL in column A in one go.
I know that if you place the cursor in one cell immediately after the = sign and press F4 it automatically adds $ SIGNS TO THE CELL, which I find useful for V-lookups, but I obviously cannot do it (fill it) all the way down the column i'm using excel v7.
In addition or related how would I write an IF formula to read eg.
= IF (cell ref begins with C, then link and add PRECEDING AND FOLLOWING $ signs to all refs)?
we have a large document that many times has the autofilter engaged (so that it has to be cleared to see all the rows). I know you can click on the top of the column to undo and that it changes the icon slightly when there is is a filter applied...
but with my bad eyes and the MANY columns across (so they are very small - and no I can't make the bigger bc I need to be able to see them all) sometimes I don't see the difference between the normal arrow and the filterd arrow.
Is there a way to do some kind of conditional formatting (say on Row 1, that is frozen at the top) that would so that the cells could turn a different color if there r any filters on that need to be cleared?
kind of quick very easy to see and bright notice of - "someone put a filter on, you might want to clear it before looking order number
I have a home finance spreadsheet that I've been using for a few years and in the last couple of days it's ground to a halt. Whenever I enter a value in a cell and hit [ENTER] there is a long delay with the spinning wait icon (Windows 7) and the Excel window reports "Not responding". Eventually (3-4 minutes) the update occurs and everything is fine.
The workbook has 9 sheets on it but only one summary sheet references the others. The sheet I'm updating has about 2200 rows, 50 columns and the formulas are simple A+B-C types. Performance DOES NOT improve if I change recalculation to manual. The only VBA is some macros to perform tasks and they don't execute dynamically. Adding comments and changing formats responds immediately, it is only updating values that exhibits the problem.
I've tried replacing all formulas with their values (paste special/values) across the sheet but again this didn't work.
the code of how do stop saving a report if the spefic cells are not filled.
For ex: In a excel sheet in we have A1,A2,A3 there should be some values else its should not save and should show an alert stating that this cell is empty....
Look at the attachment below. I would like to compare two data sets;
DCLG Codes and our internal codes (all highlighted in the colour peach).
One or more of our codes can 'feed into' our parent organizations codes. Please see the Summary sheet and it will become apparent.
At the moment, I have been able to remove the duplicates from the DCLG codes and then 'marry them up' using a SUMIF function to add up all our ledger types- according to their codes.
Basically, the bottom line is that all our spending or income (The ledger Types) has to be grouped (if more than one) and reported back into their system codes.
Here's the more, possibly challenging bit....
Our system generates the ledger types and the monthly spend and year to date every month. from time to time, different ledger types may be added to the table (this will always be from our end).
We would like a way to copy and paste this data next to their table without throwing out the tables or distorting the codes that they relate to on a permanent basis.
My question/s is;
Is there a way to match and validate the data and put in an alert to notify us of the error? And then when we are happy, we could carry on as normal and generate the SUMMARY sheet.
I know of the data validation method and looking for an exact match but I was wondering if the corresponding figures would be affected in anyway.
What may be good would be to have a data dump/input area where the data is matched possibly via a VLOOKUP and anything that is not matched is displayed at the bottom of the list?
The results do not necessarily have to be like what I've suggested above. all I would like to be able to do is match the data first (and their corresponding figures) and output according to their codes. I need to be able to identify new or unmatched Ledger types.
And a report : DCLG Workbook Template Master.xlsx
I use the vba to open excel file. like workbooks.open filename:=abc.xlsm but I found that if the file is opened by other. Excel still open the file but it will not notify user that it is opened as read only.
Would you add more line to notify user if the file is opened by other?
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.
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:
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.)
I have a large excel sheet that will take a lot of time grouping it manually, so I was wondering if there was some way somebody could help me out with creating a code in VB to automate this grouping for me. All I would need is something to read through the rows of one column and when it finds a blank row, keep scanning until the next blank row and then group the data between the two blank rows. I have attached a small portion of the excel sheet I am working with if you need to get a visual of what I am needing.
I have a monthly report that I get with lab tests and amounts ordered. (I will copy a section for you to see). The Director wants it to be compiled into an easy to read, 1 test with totals. The way i get the data is broken down by site (we have 5). So, i may have between 1-5 rows of the same test with a total for each. I want to set up a Macro/Script that would go through the report and automatically add the same test codes together. My long term goal is to have it pull the Test Number, Test Name and Total Count into a separate worksheet, with the Total Count being the count of all the same tests.
I have a spreadsheet that deals with expiration dates. The whole sheet is conditional formatted so that when the current date is within 3days of the date showing in A2 then that cell changes colors. Ok is it possible that a script can be written so that when the cell changes colors... (Someone is going to think I am silly asking this but) excel sends an automated Email?
I m trying to achieve is generating ref numbers automatically.
I have attached an example.
In Cell A if the user choose yes it gives a ref number. The trouble im having is that say in cell A5 a Yes is choosen at a later date, it will throw the numbers out of order and the ref numbers get mixed up, there any way of stopping this from happening or any function that prevents this from happening
I have been trying to create a macro that would create a schedule for me based on date and a product type. In columns K-N I have an IF statement that tells when a shipment would need to arrive in a row that corresponds with a date (column A is 1/1/2015 - 12/31/2015). On the next page I would like to generate a schedule that lists the dates that all of the products are needed in chronological order. I've tried to use custom functions like finding the nth_occurence but it just gets way too messy with so many shipments.
im having trouble formatting the left header, im not sure how to go about it, ive recorded macros to see how they do because i dont need talking marks im buggering it up somewhere
Sub OCHeader()
Dim Sheet As String
Sheet = ActiveSheet.Name
With ActiveSheet.PageSetup .LeftHeader = _ "&""Trebuchet MS,Bold""&11" .LeftHeader = Sheet End With
I keep a spreadsheet with the 50 or so wireless phones in our "lab". When someone checks them out, the rules are that they change the cell under Available to "NO" and add their user ID. When they return the device, they change the Available cell back to "YES". What I want is a log of who checked out the device, and when... which would be kept in "sheet 2".
I attached a small spreadsheet with the same columns and information you would see in the regular spread sheet. Sorry, I would rather have put it here, but I couldn't figure out how to do that.
The spreadsheet has code which updates the "Counter" when someone checks out a device. Many thanks to the "Rocket Scientist" who helped me with that.
I am attempting to automatically (once a week) pull down the data from this site (http://www.dot.ca.gov/hq/esc/oe/plan...bidsum_csv.php) which is posted in a csv and parse it. While this may seem to be a simple process, the people who posted the CSV did not take into account that there are dollar values in the data in the millions and billions. As a result, a normal comma parse does not work since it splits the values.
Making an excel program that will automatically Email 5 people with either the whole document, a link to the doc, or just an email using the cells to inform them on what needs to be checked. And I don't even know where to start.
There will be a spreadsheet with everyone's name going down in column A, and then in the row next to the name it'll have a date of when they were put on it. It'll then have another date of the time they need to have done certain things, like see the doctor or get a class done, so when the current date reaches the date in the column the cell that is the same date will turn red, and the document will be mailed to 5 of the higher ups to inform them they need to check on this Marine to see if he has accomplished whatever task has expired.
Ive been trying to research a lot of this on my own, but ran into problem where the current outlook version does not suppose the command DATE within an excel, so I need to make a database using multiple excel sheets using Visual Basic(or so I'm told now).
I am having trouble trying to get an MS Access Query to run from MS Excel automatically.
I am trying to create an automated trigger in MS Excel that will automatically run my Access query by the times I specify in my statement.
For example: I need to run a query in Access at 9am, 12 pm and 10pm, that's it, but I believe I need to do it via Excel, I don't want the data returned to Excel, I just want Excel to execute the query at those specific times!