Default Dropdown Selection Using Macro
Dec 21, 2009
I have an excel file with a date dropdown box. The date is populated from another sheet in the same file. I need to create a macro, which will select the latest date by default when the file is opened. Is this possible and if so could someone please lead me in the right direction? I am using Excel 2003 and the date format in the dropdown box is "dd-Mon-yy" --> eg "21-Dec-09"
View 9 Replies
ADVERTISEMENT
Feb 20, 2009
I am working on Excel document(Microsoft office-2007) with 2 sheets(Sheet1,Sheet2).
In sheet1 i have a dropdown list and the respective data is saved in Sheet2.On selection of dropdown lists in sheet1 ,respective rows should get copied from Sheet2 to Sheet1.
I am having trouble with the macro command. This is a first for me and I am stuck. I just dont know the how to write the Macro for this.
View 9 Replies
View Related
Jun 3, 2013
If a user selects certain options from a drop down list created by cell verification (from list), is it possible to display an input box and have the resulting input populate on another worksheet in the workbook? I have an attendance template I'm working with and if a user selects OT (Over Time) then a input box is displayed prompting for how many hours. The overtime is then tracked on another worksheet.
View 1 Replies
View Related
Oct 11, 2009
I have a Userform (frmData) with 4 CommandButtons (Cmd1, Cmd2 etc) and also 2 RadioButtons (Opt1 & Opt2).
I want Opt1 to be the default selection when frmData is opened.
If Opt1 or Opt2 is selected I want that option to stay selected until frmData is closed.
When Cmd1 is selected code1 runs if Opt1 is ticked, and Code2 if Opt2 is selected.
View 6 Replies
View Related
Dec 16, 2013
Is it possible on Excel to make a drop down menu which picks records out of a list?
I've a big spreadsheet. Thousands of records. Each record has one of 100 people listed as responsible for it. I've highlighted stuff for them to fix, I'll be emailing it out to them, and they'll need to isolate the dozens of records they are each responsible for from the thousands of other ones.
They are, erm, technologically challenged. I want to keep it simple, put one menu on the screen and say
'Pick your name from the list.'
George W picks himself from the list, and then it lists his records only and not anybody else's.
Can Excel do that? (Rather, probably, but where do I start?)
View 11 Replies
View Related
Jan 30, 2007
I am trying to make a spreadsheet where I use a drop down menu for several of my vendors. When I select the Vendor's name from the drop down menu (for example in A1), I would like A2 to display that vendor's phone number. But when I switch vendor name from drop down list in A1, A2 would need to reflect the new vendor's contact info.
View 7 Replies
View Related
May 1, 2013
How to create a dropdown menu to pick from two selections?
Basically, I have a 'Status' column and the status will always be 'Open' or 'Closed' and I'd like you just to be able to click a cell in that column and select one or the other.
View 2 Replies
View Related
Nov 21, 2013
I have a a sheet with a drop down, if the selection of Critical in the drop down (A57) is selected, i need E57 to have a message saying we need to elaborate on the explanation or when critical is selected a popup with NEED TO ELABORATE in the description comes up.
View 1 Replies
View Related
Jan 11, 2014
How to add an equation to a drop down selection if you take a look at the picture in the link supplied, what I want to do is: I want the calculator to take the number in D12 then if the drop down box under it the selection is (as it is) too high then subtract 50 (k11) from D12 and display the answer in D14. I have listed the 3 drop down choices in column L, Lap 2 I would do exactly the same and so on [URL] .........
View 6 Replies
View Related
Jan 30, 2007
I am trying to make a spreadsheet where I use a drop down menu for several of my vendors. When I select the Vendor's name from the drop down menu (for example in A1), I would like A2 to display that vendor's phone number. But when I switch vendor name from drop down list in A1, A2 would need to reflect the new vendor's contact info.
View 5 Replies
View Related
Jul 27, 2014
I have created several records, each record is in it's own row. I'd like for the row to be displayed if the name of that row is selected in a drop down. How can this be accomplished? I've attached the spreadsheet to show my current progress. When a player is selected in a drop down, I would like for that players record to be displayed below the drop down.
UFC.xlsx
View 4 Replies
View Related
Aug 12, 2014
Having a drop down box in the document, i need to select multiple choices at the same time. VBA program for the same...attaching the file which i am working on.
View 1 Replies
View Related
Dec 10, 2013
I have a Configuator sheet and the way it works is I have 6 different descriptions (plug connector, socket connector, length, jacket type, color, gauge). So when you choose a Plug Connector only the socket connectors that go with that plug are available to choose using data validation. Then depending on on the plug and socket connector it gives you the lengths that are available and so on.
Then I have a button with a macro that matches the descriptions you have chosen and returns the following: part number, Description, case qty, Available Stock, and Price. My issue right now is Not all plug connectors share the same Socket connectors so when someone changes the Plug Connector and has a invalid Socket connector from a previous selection the value returns as #N/A.
So what I would like to do is when I run my "Find Cable" Macro it will match each selection and if one is invalid returns a message box telling you which field is invalid i.e. socket, length, jacket type, color, gauge.
View 9 Replies
View Related
Dec 19, 2013
I am trying to create a simple order entry worksheet. In cell M1 I need a dropdown box that lets the user select which options go on the product. You can have multiple options. The list of options is contained in column A of the Options worksheet. Depending on which options are selected, I want to put a 1 in column B of the Options worksheet. how to do this or have a sample workbook that I can look at.
View 1 Replies
View Related
May 6, 2014
I am trying to create 2 drop-down lists (based on named ranges), where the contents of the second selection change based on the first selection. On one sheet, I have a list of equipment that is quite long, but is broken up by categories. I have named ranges for all the category names, and the equipment in each category. On the other sheet (user side) I made the first drop down the list of categories, and would like the 2nd drop down to be the pieces of equipment that correspond with the chosen category. I have tried using data validation and nesting IF formulas, but it only works for the first 4-5 categories, bc my formula is longer than the Source field allows in Data Validation. Any other way I can make this work? Can I use a macro for this? If so, how to write it as this would be my first macro
View 9 Replies
View Related
Feb 27, 2007
I have a spreadsheet which is made up of 4 worksheets. I have a drop down menu on the front page (created with data validation). I want to be able to choose one of the 7 geographical areas from the drop down menu, then have a formula search through the other worksheets for rows of data with this geographical area in it. Any ideas on how to do this, I have tried with VLOOKUP but cannot get the formula to refer to the drop down menu for the first input, i.e. the geographical area that it should be looking to match.
View 5 Replies
View Related
Oct 5, 2013
I have created a User Form that has been tested and is working properly. Now my last step is to do the following:
I would like to Display the User Form (coded as CommRM) if in Column C (can be any cell as it is a large worksheet) someone selects "Retail News" from the drop down option.
The code that I have been able to create so far is below. The problem is that when I select Retail News from a drop down in Column C the user form does not appear.
VB:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range (C14, C3333).Text = "Retail News" Then Call UserForm_Initialize
End Sub
Private Sub UserForm_Initialize()
Load CommRM
CommRM.Show
End Sub
View 7 Replies
View Related
Feb 18, 2014
There are multiple duplicates of different part numbers in a column. When I autofilter the column, it shows 1 selection for each part number. I am trying to extract this selection fromm the autofilter dropdown box. I want to use it elsewhere in a dropdown box.
View 8 Replies
View Related
May 30, 2014
I have a excel file to keep track of sales pipeline. What I am looking for, is an automated utility or code that will allow excel to automatically move entire rows once a task is completed and can be moved to another sheet. In Prospects sheet I have a column for " Stage" and here you have to select from a drop down menu, either "Prospect", "Contacted" "quoted" "WON" "LOST" What I would like, is that once you have selected one of the sales stage, the entire row or entry, will be automatically moved to the right tab from the "prospects" to a new sheet according to each stage.
SalesPipeline.xlsx
View 2 Replies
View Related
Jun 11, 2014
I am developing a spreadsheet at work that is very similar to one that I made at a previous job. I am using the same formula in each spread sheet, but the one I am developing now does not work, where the previous one works perfectly.
I have a drop down menu created with data validation. Each possible selection is one or two letters of text, or the selection can be left blank. The drop down is cell A12, and an example of the if function that is used many times in this spreadsheet is as follows:
=IF($A$12="L",1,0)
In the previous spreadsheet, the function returns true only when the appropriate selection is made. In the latest version, it will return true if the appropriate selection is made, or if drop down selection is blank. I have been able to work around this with the following:
=IF($A$12="",0,IF($A$12="L",1,0))
View 6 Replies
View Related
Dec 4, 2013
I am trying to create a sheet for identifying work hazards based on the job assigned. So what I have set up is a drop down list to select the job type. Once this job type is selected I want the pre written hazards to autopopulate in the hazard box. I would also like the required PPE to appear in the PPE box for the job selected.
I have 6 different choices in the drop down list. For each choice I have the hazards and PPE in a separate sheets in the worksheet.
Is there a way to get this information to autopopulate?
View 1 Replies
View Related
Dec 6, 2013
Any way to apply a formula to a cell depending on what choice is made from a drop down box in a cell that it refers to.
Hypothetically:
I have a drop down box in A1 with 2 options: Cookie Making Costs - or - Cake Making Costs
In cells A3 through A10, I have cells with the costs for all the ingredients (and B3 through B10 for cake ingredients).
If I select Cookie Making Costs, I would like B1 to apply a formula that sums up all the costs associated with making cookies "=sum(A3:A10)"
If I select Cake Making Costs, I would like B1 to apply the sum of the cake ingredients "=sum(B3:B10)"
View 2 Replies
View Related
Feb 12, 2014
I am trying to develop a worksheet that will adjust dates based on a selection from a drop down box. I can do basic formulas in excel
I am trying to get the drop down box in "Revisit Type" to include three selections ("Sanitation", "Spark", and "High Five"). Once the dropdown box is created I want to be able to make a selection and enter an initial visit date under "Initial Visit Date" then have the "Earliest Return Visit Date" and the "Latest Return Visit Date" automatically populated based on this information below:
Sanitation or Spark = 10-30 day window
High Five = 10-21 day window
I am at a loss . I have attached a sample of the workbook for reference.
View 3 Replies
View Related
Feb 21, 2014
Sheet 1 has a table of prices. There are 7 columns labelled 2 thru 8 and two rows, labelled 1 and 2. Each combo has a separate price.
Sheet 2 has a weight specification (1 or 2 referring to the rows in sheet 1) and a drop down menu with options 2 thru 8.
When I choose a number from the drop down menu, let's say 5, I want to populate another cell with the value from sheet 1 of column 5 on row "whatever the weight spec is", let's say 2.
View 1 Replies
View Related
May 21, 2014
I'm wondering how I could display information based on the user input through dropdown selection. I know how to make a dropdown-list already.
Example: A1 has a dropdownlist with Apple and Banana in it. If I select banana then I want B1 to display "8" and if I select Banana I want B1 to display "4".
View 5 Replies
View Related
Jan 28, 2013
Changing the data based on a drop down selection. My drop down list is based on the months I need the data (percentages for each person) to change depending on which month is chosen. So If I select Jan, the percentage fills in for each person. I've attached an example.
View 3 Replies
View Related
May 23, 2013
I am trying to create a spreadsheet which allows me to select an antibiotic from a drop-down menu (refer to cell D1) on Sheet 1.jpg, which would then color the cells below based on the color-coded coverage based on another sheet (refer to D2-D17 of Sheet 2.jpg).
View 10 Replies
View Related
May 1, 2014
I am trying to create a drop down box that pulls its selection from another sheet in the workbook and I'm not sure how to go about doing it. I figure VBA must have some way of doing it but I am not sure how the coding would go. I've attached a very basic example of what I am trying to accomplish.
Drop Down Box Ex..xlsm
View 3 Replies
View Related
Oct 25, 2010
I have a userform where I want the user to be able to select multiple options, but am having a bit of a problem finding the best way to do this. If I use a combobox, I don't appear to be able to allow multiple selections, but if I use a listbox I don't appear to be able to implement a dropdown facility. I would prefer to have a single line sized box on my form, but doing this with a listbox would probably be confusing for the user as it is not very easy to see what has been selected.
View 11 Replies
View Related
Jan 8, 2005
I have a shared worksheet that has many rows of data... but only certain rows are relevant to each specific users. I would like each user to be able to select their name from a drop-down list in order to have all rows that are not important to them be hidden. I can put the name of the user in column 'A' in each row they need to see, but how could I make all rows that do not contain their name in column 'A' hide? In other words, if 'Bill' is selected from a drop-down list, only rows that contain 'Bill' in column 'A' would be seen.
View 9 Replies
View Related