Excel 2007 :: Modify Selections Chosen From Pull Down List?
Aug 17, 2013
I have created a worksheet with Excel 2007, which includes a pull down list. Within this list are 2000 unique numbers in a separate worksheet this data is pulled from. Is there a way to dim or change the color of numbers previously used so that when the list is used again, it is easier to see where I left off?
View 1 Replies
ADVERTISEMENT
Oct 9, 2011
When I attempt to extrapolate and modify the code I get nothing but error messages. I've also looked through my two Excel 2007 books (each of them 1,000+ pages long) and there is no mention of this subject anywhere.
I am running Excel 2007. I have a multiselect listbox in a worksheet (not a user form). I want a user to be to be able to select multiple items from that listbox and when the the user moves out of the listbox (i.e., when the focus is no longer on the listbox), I want the selections to be copied into a cell on the same worksheet with each of the selections separated by a comma.
So for example, if the listbox (named "ListBox1") contained the following items...
North
East
South
West
...and the user selected both "North" and "West" from the listbox, the following text would get automatically written into cell A2 in the same worksheet after the user move outside of the listbox...
North, West
I know enough VBA to be dangerous (usually just tweaking code written by the macro recorder), but this one is eluding me. My two questions are:
1. What is the VBA code required to give me the result I'm looking for?
2. How would that code be called/where does it reside in the workbook? For example would I put the code in a macro and associate that macro to the listbox object??
View 6 Replies
View Related
Nov 14, 2013
I have an excel 2007 script that downloads daily stock data and prices. I do analysis and graph the data.
I would like to keep the download the same, but modify my analysis so as to obtain weekly and/or monthly data.
I am sure this is commonly done, and is not rocket science, but so far I am baffled as to the procedure / algorithm to do this.
View 1 Replies
View Related
Jun 25, 2008
Scenario: I have a worksheet full of ~360 tasks. Tasks are broken down into phases, have owners, and have status'. I leverage a pivot table to easily sort my data by owner, or by status. When reviewing the pivot table with others we want to update the raw data. This entails changing worksheets and scrolling to the task in question.
I'm looking for an easier way to update the raw / original data.
Options I've tried to pursue but have come up empty:
Option 1: Excel modification? Is there a setting in Excel 2007 that would allow me to change a value in my pivot table and have it propagate to the original data set (another Excel worksheet)? So far the answer seems to be "no". Is this possible?
Option 2: Hyperlink from Pivot Table to Raw data field.
- I cannot create hyperlinks within PivotTable data cells.
- I have used the "hyperlink()" function OUTSIDE of my pivot table, along w/ a "match()" on a key field in my pivot table to create hyperlinks back to my raw data... But this is prone to breaking.
- Is there a way to enable hyperlinks from within a Pivot Table? I have seen other requests from individuals that had a pivot table with actual hyperlinks (e.g. [URL]...) and they could not 'activate' them.
Option 3: Tool Tip VBA Form w/ Link?
- If I can't create hyperlinks directly in the table, then how about a function so then when i click (mouse over?) a pivot table cell a form appears with a hyperlink back to the source data?
Option 2 and 3 Assume that there's an way to get at the underlying location of the raw data (e.g. "Pivot Table Worksheet!E10" comes from "RawData!C4". I've dug through some VBA documentation at Microsoft.com but came up empty. I know this link must exist behind the scenes - In Excel 2007 when you mouse-over a pivot table cell Excel displays: "Row - Phase - Owner - Status", which is directly out of the raw data table/worksheet. [[This was an incorrect assumption... When i looked at the pivot table tool-tip closer I realize it was just walking through my data :'( row.
What is the VBA Code to revel the source cell? If i can get at that data, (and hyperlinking can be turned on w/in the pivot table...) then I can easily write a script to walk through the pivot table and create links back to the raw data... Not a perfect solution - but it takes away the need to search through the source data for the row I want.
View 3 Replies
View Related
Jun 27, 2013
I recently moved to Central America and now am working on models that are either in $ or in the local currency (Q). I do not want to change my default currency value in the regional settings of the control panel because it is more convenient for me to stay in $ but it is a pain everytime I want to set a worksheet in Q and not in $.
So, I am wondering how I can change the default values in the currency drop-down list on the Home toolbar under Numbers in Excel 2010.
Currently, it gives me the change to apply the following currencies:
- $ English (US)
- £ English (UK)
- € Euro (€ 123)
- ¥ Chinese (PRC)
- fr. French (Switzerland)
Instead of either the £, ¥ or fr., I would like to have listed the Q, my other frequently used currency.
View 3 Replies
View Related
Jul 20, 2012
I have a Workbook (Test 1) with several columns A-S. I'd like to be able to continue to add data into Test 1, and have some of the data pulled into a new Workbook (Test 2). Basically pulling data from Test 1, cols. D, L, J, E, I, C, K, Q and S - into the new workbook Test 2.
Some of the columns in Test 1 have conditional formatting and data validations, but I need the data in these columns to be replicated into Test 2 - without having to copy/paste between the 2 workbooks.
I figured how to do this in Excel 2010, but my office is still using 2007 and I can't seem to get it to work....
View 1 Replies
View Related
Feb 25, 2014
Is it posible and how to create a list of barcodes from a list of numbers on the worksheet?
Strokescribe seems to have some ind of solution but the data can't come from the worksheet.
View 8 Replies
View Related
Apr 29, 2012
I have a List of Different Fruits in Cells A1 to A5
Apple
Banana
Orange
Strawberry
Cherry
And I use data validation list in 5 different cells from Cells C1 to C5 then in every cell the list will show all the fruits,
But I want that if I select Any Fruit in cell C1 that should not be included in the remaining 4 cells, and the fruits selected in Cells C1 and Cell C2 should not be included in the remaining 3 cells and so on....
I Used the formula
=IF(C1=A1,OFFSET(A2,,,COUNTA($A$2:$A$5),1),0)
But this works fine if I select Apple in the Cell C1, then the List of C2 Shows all Fruits other than Apple, But if in Cell C1 I select any fruit other than Apple it does not work... (Using Excel2007 & Win XP)
View 4 Replies
View Related
Sep 26, 2008
I want to 'repurpose' some of the menus on the Excel 2007 ribbon, in particular to set paste to paste only values. Effectively I need the equivalent of the following for Excel 2007
Private Sub Workbook_WindowActivate(ByVal Wn As Excel.Window)
Application. CommandBars("Edit").Controls.Item("Paste").OnAction = "New_paste"
Application.CommandBars(" Cell").Controls.Item("Paste").OnAction = "New_paste"
End Sub
.
John Walkenbach suggests the following xml code
<customUI xmlns = "http://schemas.microsoft.com/office/2006/01/customui">
<commands>
<command idMso="Copy" onAction="New_paste"/>
<commands>
</customui>
View 5 Replies
View Related
Mar 19, 2009
i mtrying to get a validation list change depending on what is chosen in another list. I have attached an example, Yellow box is my validation and weather List 1 or List 2 in chosen I want the red box to be a choose of the list attached to those options. I've tried to put an If in there but I’m al a loss.
View 3 Replies
View Related
Sep 20, 2011
I am struggling with trying to create a Top 10 list in Excel 2007. I have googled and search the forum but could not find a solution. (Aplogies if i have overlooked a thread)
I have attached an example of my problem.
1. In Column F i would like to extract the names of the Top 10 performers, based on their respective score. Hence, based on the scoring in Column D, Column F should extract the Top 10 performer names from column A.
2. In Column G, same as above, but bottom 10 names
3. From the attachment, you will view some names are highlighted. I.e. Gary & Neil, and Ian & Michael. These are highlighted based on the fact that they have equal scores.
When extracting the Top / Bottom 10 list, i would like to rank the performers with same score differently. e.g. Gary & Neil, both scored 0%, hence they are equal. But in the Top 10 list, i would like to rank Gary higher as his absolute target is higher. (63 vs. 27) . Same applies to Ian & Michael, Michael should rank higher in the Bottom 10 List as his absolute target is higher.
View 5 Replies
View Related
Apr 3, 2014
i want to make a dropdown list from excel 2007. I try data validation then allow then list then source but i cannot make the sheet 2 as the source of my dropdown list in sheet 1. i uses excel 2007 and my OS is XP.
View 4 Replies
View Related
Jun 4, 2014
I am creating a form using Excel 2007/XP, and am trying to make it easy to use for both people who want to click and people who want to type. I have a series of list boxes in the form that make it easy for the clickers, but I want the typers to be able to tab into the box and make a selection. For example, if the choices are Apples, Pears, and Grapes, I would like a user to be able to tab into the box, hit P and tab to the next box and have Pear be selected.
View 2 Replies
View Related
Feb 23, 2012
I have cells containing large drop down lists (offering many possible entries). Is it possible to get excel to "jump" in the list or complete the entry automatically? If i start typing "aut", it should the drop down entry "automation". For your information, I just use Define Name and Data Validation to create the drop down list. Is it must be using VBA code or I just can use Define Name and Data Validation which has been I created?
View 5 Replies
View Related
Sep 3, 2013
I have a large table of results that looks like this...
Forename___Surname___Art___Maths___Science___English___Drama
Billy________Bob_____________B_______A________C_____________
Michael_____Micky_____A_____D_______B_________________C____
Shelly______Sholly_____A*____A________________A________B____
I am looking for a way to write this data in a list like this........
Billy__Bob__Maths___B
Billy__Bob__Science_A
Billy__Bob__English__C
Michael__Micky__Art__A
Michael__Micky__Maths__D
Michael__Micky__Science__B
Michael__Micky__Drama__C
Shelly__Sholly__Art__A*
Shelly__Sholly__Maths__A
Shelly__Sholly__English__A
Shelly__Sholly__Drama__B
Excel 2007
View 5 Replies
View Related
Jan 6, 2014
I want to link a table to a form. Only, I noticed that when setting the input range in the form I'm unable to use OFFSET OR a table name. How can I link the form to a list which is going to expand?
Attached is an example. Two sheets. One for the list. One for the form. The list will keep getting added to.
Unrelated-but perhaps useful - Is it possible to link one cell to a list in another sheet so a user can type in a word and it will offer autocomplete options in excel 2007 ?
linklistoform.xlsx
View 1 Replies
View Related
Feb 27, 2014
I am trying to create a dynamic sub-table on another sheet from a master list in excel 2007. Where the master list size can change and have this reflected in the sub-table. I cannot use pivot tables.
Example:
Master List (Locations):
London
Drummond
Kentville
Sub List (should look like this):
London #count
Drummond #count
Kentville #count
View 11 Replies
View Related
Mar 13, 2014
I am using the code below (Excel 2007) to delete and add back timesheets based on a list of names from the "Names" tab. In addition, I am making a "Table of Contents" with hyperlinks on a separate worksheet that will allow employees quick access to their timesheet without having to look at each tab. The code below works well if I want to delete and add back all the timesheet at one time but if we get a new employee in the middle of a pay period I have to use a single timesheet until the end of the pay period.
What I would like to know is, can the code below be modified so that when the code is run it reviews the list of names and only adds a new timesheet for that employee without deleting and adding back all the timesheets?
View 1 Replies
View Related
Feb 6, 2013
I have designed a pay voucher in excel 2007. In the Cell A5, I have a dropdown list (through data validation) of names. I want to scroll down the name and take a print of pay voucher. Let me, explain with an example. Cell A5 (having dropdown List of names)
JhonBillAdamMickNo name (balnk)No name (blank)No name (blank) I manually selected the Jhon and take the print of voucher. Now I want some codes which aquatically select the 'Bill' from dropdown list and take the print of voucher. Then it will select the 'Adam' from dropdown list and take the print of voucher . Then it will select the 'Mick' from dropdown list and take the print of voucher and so on till the last name of data validation list. Remember, I have some blanks in the end of drop down list. This macro should ignore those blanks.
View 2 Replies
View Related
Aug 26, 2013
I just tried installing a basic macro which reads from a shared file on the office server onto my colleagues computers. Works find on mine but doesn't work on theirs "Could not set the list property index". When I comment out the offending line, the form loads just fine but obviously without the listbox populated. The line is:
Code:
.popsLB.List = Application.WorksheetFunction.Transpose(camp_array)
All machines are running Office 2007.
View 2 Replies
View Related
Feb 13, 2008
I created a userform for budgets. Currently the way that the user selects the year for a particular line item is a combobox. The combobox is filled from a textbox, where the user inputs the project duration. For example if the user put five years into the textbox, the combobox would have years 1,2,3,4,5, and a default of all years. I want to change the combobox to a multi-selection List Box. I changed the sub that loads the current combobox to this:
Public Sub ComboLoad(cboExpense As ComboBox, cboJob As ComboBox, _
ltAp As MSForms. ListBox)
Dim i As Integer
ltAp.Clear
If Len(UserForm2.txtYears) = 0 Or Len(UserForm2.txtYears) = "" Then
ltAp.AddItem ("All Years")
Else
For i = 1 To UserForm2.txtYears
ltAp.AddItem i
Next i
ltAp.AddItem ("All Years")
End If
ltAp.Text = "All Years"
'ltAp.value = "All Years"
I used to be able to select a value for the combobox, (the default of all years), but I get an error if I include that part of the code now. I wanted to know how I can make this selection by code. Also, the bigger question for me is how do I deal with multiple selections that may or may not be sequential. As an example, for the travel section, there may be a particular expense that will occur in yrs. 1,3,5. I found some info about referring to the position in the array, but it seems like this will constantly change. I could imagine doing case scenarios, but it seems like there would be too many potential possibilities to cover.
View 5 Replies
View Related
Aug 1, 2013
I am using excel 2007. I have multiple folder with multiple files inside like below
folder1
file1
file2
file2
folder2
file1
file2
file3
folder3
file1
file2
file3
i need output like
folder1 file1 file2 file3
folder2 file1 file2 file3
folder3 file1 file2 file3
I need to use a function like =filelist(a1) or =filelist("folder1") then it should list the files horizontally like above.
View 6 Replies
View Related
Jun 9, 2014
I am having trouble using formulas in a smart way in excel.Basically, I am trying to calculate percentile for a range. But since my data set is huge, I dont want to select the range in percentile formula manually. my data set includes buckets and would love to be able to search for that field and then calculate percentile on a range. is that possible?
example
see attached excel file -its a small data set, but there are more buckets in the volume column. Using Excel 2007
View 1 Replies
View Related
Oct 29, 2013
Using Excel 2007, I have a very simple spreadsheet made up of only two worksheets that I am using to track the songs played by a band during a current tour.
One worksheet is called "Summary" and the other is called "Setlists". In the Setlists worksheet I list every show played (10 shows so far), and every song played from each show. In the Summary worksheet I have very song listed that has been played during the tour in one column (A), then the number of times that song has been played in another column (B). Column B, the number of times each song has been played, is populated by a COUNTIF function that looks at the Setlists worksheet and counts each instance of each song.
What I want to do, very simply, is to sort on column B in order to display the list of songs from the most played to least played. That is where I run into a problem. When I sort my list of numbers, I end up with a seemingly random list that certainly isn't from most to least and I can't figure out why.
Is it possible that the COUNTIF function which populates that column of numbers is somehow throwing off the sort?
View 6 Replies
View Related
Oct 4, 2011
is there a way to combine the info from several columns into 1 list?
All of my columns have information in rows 1-20, but I want it all to automatically combine into a list in column B on a new sheet.
This is Excel 2007
View 9 Replies
View Related
Apr 15, 2012
I am trying to make an excel sheet which has a 2 column drop down. For example I want to have a drop down list in column 1 and when I select "Item A" in column 2 "item A" 's phone number appears. If i select "item B" form the drop down this, "Item B's" phone number would also appear in column 2 and so on. how this is done (if possible) on Excel 2007? I was hoping it could be done from one workbook to another but If it is easier from one worksheet to another then that is fine too.
View 5 Replies
View Related
Jul 12, 2012
I have a worksheet with an inventory of items in cells in column A. I need to count the number of items listed in the cells in column B. I have data in about 1500 rows. The items in the list in each cell are separated with a space. Please see small sample below. I would normally do Text-To-Columns, but some of the cells contain up to 30 items.
Excel 2007
A
B
1
Grouping
Number
2
[code]....
View 3 Replies
View Related
Apr 17, 2014
If I have a set of number in a column. a1-12345 a7-12356 and a20-15487. how can I get them to show like this in columns Z.
12345
12356
15487
I am use 2007 and my data go down to cell 40000 in column A:A
View 7 Replies
View Related
Feb 19, 2012
I have been working on this data entry and validation tool for work for a while now. I've got most of it down and works just as I want it to. However, I have made some validation lists for people to select and animal ID when entering some data. Once the animal ID is entered I want to remove it from the source data and the list to stop people entering a duplicate number for the same event.
I'm not sure how easy/difficult this will be but the whole reason for this project was to stop people entering the same data and only allow them to enter data that I pre-define. Its to cut down on mistakes where somone will enter the wrong ID and then finding the correct ID becomes difficult due to having over 4000 animals on site.
View 3 Replies
View Related
Jul 7, 2013
I am trying to take two random Mouse click selections and swap a set of ranges associated with the cells that are selected. For example if the user clicks on A1 it will resize(3,22) and store the selection as a variable to be swapped with another selection. Here is what I have so far but I keep getting a object required error on rngEmp1.
VB:
Sub SwapGroup()
If Selection.Cells.Count < 8 Then
MsgBox "Please Select two Groups to swap. Press and hold 'Ctrl' in between your selections", , "Swap Groups"
[Code] .....
View 4 Replies
View Related