Cell Dropdown Option Not Functioning Properly
Jul 6, 2014
Say in column A, I have the values 1,2,3. If I set cell B1 equal to A1 and drag down, I'd expect this:
A B
1: 2 2
2: 3 3
3: 4 4
But all the columns in B just say 2. What function did I accidentally change?
View 4 Replies
ADVERTISEMENT
Apr 30, 2014
I have a drop down list that is dependant on another drop down list, all this works fine, however if the user changes the first drop down list the second still continues to display the last option chosen by the user, is there a way to make the 2nd drop down list display "Please Use Drop Down List To Select An Option" instead, also is it also possible to do this without code?
View 3 Replies
View Related
Jul 22, 2014
I will have a summary tab and then a number of tabs with various options in detail
What I would like to do is some way of adding the options on the summary tab - some sort of drop down I guess
Is this possible without lots of programming etc...
View 4 Replies
View Related
Apr 15, 2014
What I want to do is select other options in IE html drop down list. But somehow the other methods I read online doesn't work with my situation. I got either "Variable or Block Variable not set yet" or "Property or Method doesn't apply" errors. The following is the VBA code I have so far:
[Code]...
and the following is html code of the web page:
HTML Code:
<div id="reports">
<h6>Name ~ Doc Date</h6>
<select name="dxr_report" size="1"
onchange="changeReport('form')">
<option value="file1" selected = "selected"
[Code] .......
I tried IE.document.getElementByName("dxr_report").Value = "file2" to choose the file2 but failed.
I also tried IE.document.all.Item("dxr_report").Vaule = "file2", doesn't work either.
View 9 Replies
View Related
Feb 21, 2014
I have a spreadsheet where there is an option to either select a pre-priced item from a drop down list or type in manual entries. If the data is entered manually, I have included a formula to obtain cost data. For example, column A has the number of labor hours and column B multiplies Column A by $500. However, if a person chooses to select a pre-priced item from the drop down menu, can the pre-entered data from the VLookup list overwrite the formula? I do want it to overwrite if it is possible for it to do so.
View 2 Replies
View Related
Jul 12, 2013
I attached a sample spreadsheet but I was wondering if there was a code that could display a range based on an option selected in a dropdown box.
excel help.xlsm
View 3 Replies
View Related
Dec 13, 2012
I'm creating a form with drop downs, and I'd like the answer choice someone makes for one question (ie- what county they're in) to affect the answer choices for a secondary question (ie- what city they're in).
I'd like to avoid using names, at least for the second dropdown (since there would be too many names, and in some of the questions in the data set things change too much for names to be a good option). I would also like to avoid using VBA to keep it simple and maintainable. Here is a simplified version of a small subset of the data.
Drop Down 1:
County (options: Santa Clara County, Napa County)
Drop Down 2:
Cities/Towns (options: the cities/towns that relate to the above county selection, without using names)
County
Cities/Towns
Santa Clara County
San Jose
[Code] ........
View 2 Replies
View Related
Aug 13, 2012
Using macro's on Excel 2010. What I'm trying to do is create a macro that will copy a range of cells from one sheet to another depending on a option being selected from a drop down box. I've tried to use formulas but without success.
sheet 1 contains a list of approx 20 people with rows containing sales figures per week.
Is it possible to have a macro that will copy the rows to sheet2 depending on the dropdown? The drop down has already been setup with people's names
E.g.
if sheet 1, cell a1 (with data validation setup) dropdown contains "mr smith", copy sheet2 row A1:A9 to sheet 1 cell a2
or
if sheet 1, cell a1 dropdown contains "mr cooper", copy sheet2 row B1:B9 to sheet1 cell a2
etc... for each name in the dropdown
The idea is so that i select a dropdown and it copies the sales figures that match the dropdown name, if i then select another dropdown, the corresponding figures are copied to the same place.
View 3 Replies
View Related
Feb 12, 2010
I have a macro that I've been using for a while now for one workbook that I want to use in another workbook for the same purpose. But, when I try to run it in the second workbook it gives me a Runtime error (32809). Here is the macro:
Sub invisible()
If Range("G16").Value = True Then
ActiveSheet.Shapes("OptionButton13").Visible = False
ActiveSheet.Shapes("OptionButton14").Visible = False
Range("A36").Value = "Blah Blah Blah"
Range("C36").Value = ""
Range("C37").Value = ""
ActiveSheet.Shapes("Check Box 182").Visible = False
Range("I11").Value = "Blah Blah"
Range("K11").Value = ""
Range("B36").Value = True
Else
ActiveSheet.Shapes("OptionButton13").Visible = True
ActiveSheet.Shapes("OptionButton14").Visible = True
Range("A36").Value = "Blah Blah Blah"
Range("C36").Value = "No"
Range("C37").Value = "Yes"
ActiveSheet.Shapes("Check Box 182").Visible = True
Range("I11").Value = "Blah Blah"
Range("K11").Value = "100"
Range("J11").Value = False
End If
End Sub
It is giving me the runtime error on this line:
ActiveSheet.Shapes("OptionButton13").Visible = True
What could be the problem?
View 9 Replies
View Related
Dec 16, 2008
how to stop macros running on a particular worksheet within a workbook. I have a workbook monitoring vehicle faults with a control sheet. The control sheet displays the reg no and a "traffic light" indicator highlighting faults next to the reg no. Traffic light is turned red and green by If blank control. Each vehicle has a worksheet where faults can be recorded and a menu bar at the bottom of the screen operates numerous macros to "email worksheet"-"clear and copy to history" etc etc. The menu bar though can also be viewed and operated while in the control sheet. If a macro is activated within the control sheet it destroys it as it was not designed the same as the worksheets. Can I programme the menu to be inactive when in the control sheet OR that the menu will only appear when in every other sheet.
View 3 Replies
View Related
Aug 30, 2013
I am using Excel 2010 and I am not able to use the excel clipboard.
There is no problem with the cut/ copy and paste function, however, the items I copied/ cut cannot be collected to the clipboard for my further usage.
View 1 Replies
View Related
Mar 18, 2009
I need to know how to make a workbook (and any/all copies made there from) cease to function (become irreversibly read-only) after a specific period of time following the first time it is loaded by a user (this would be preferable), or after a specified date (this could also work).
View 9 Replies
View Related
Sep 3, 2009
heres the Coding.
Sub ADORUN_CSM_Reg1()
' Justin SQL Server Connection
'
' FOR THIS CODE TO WORK
' In VBE you need to go Tools References and check Microsoft Active X Data Objects 2.x library
'
In the Server_name = "SRVREG1" in red above, i would like it to reference a cell...say A30. How is this done?? so that if im on the worksheet called Title on A30 i type in SRVREG1 and the VBA knows what to do from there.
View 9 Replies
View Related
Apr 3, 2014
I am using excel 2013 in my laptop (windows 8.1) after having upgraded excel 2007. Everything works fine during my daily tasks. Especially autofill which I use quite often works perfect.
At the same time I upgraded my girlfriends laptop (Windows 7) with the office 2013 (office 2007 was the older version) and somewhere there begun some isues. Autofill doesn't. Especially with months or days. I enter the value "Monday", I drag down (of course using the black filled cross down right of the cell) the cursor and all the cells get the value Monday. Even if enter the value Tuesday in the second cell and then try to autofill (having marked before both these two cells) I get the same results. Monday, Tuesday, Monday, Tuesday.
I tried to test the autofill with numbers. If i write only the one number (for instance the value "1") and then autofill, this doesn't work. It gives me the value "1" in all the cells. But if I enter the value "2" in the second cell, the autofill works fine (marking these 2 cells and then autofill).
We make some online courses using exactly the same excel exercise files. In my laptop everything works perfect.
View 2 Replies
View Related
Oct 1, 2013
some Excel columns (see attachment). A1 is set to =C1 and the formula is dragged down, relatively referencing column C. Column B applies a formula to the values in Column A.
If I go into the formula bar for cells in A and push enter, the spreadsheet shows the correct value and I can then push enter in the adjacent Column B cell to solve. But, how can I get these data to display properly automatically?
View 2 Replies
View Related
May 14, 2014
I have a spread sheet that I am finding distance between xy coordinates and then trying to convert that distance into miles.
VB : =If(E2+F2=0,"",SQRT((E2-B2)^2+(F2-B3)^2))/1.6093
However, the division part only works in the first cell in the column correctly and then does not work in the rest of the column cells correctly. The difference in the code is that the first cell has no "$" in it and the rest of the cells in the column have the "$" in them.
VB : =If(E2+F2=0,"",SQRT(((E2-B$2)^2)+(F2-B$3)^2))
View 5 Replies
View Related
Feb 26, 2014
In cell B5 of sheet1 contains a date which changes everytime when i open excel file. The date is in the M/D/YYYY format.
I am using the following code to use that date in MM/DD/YYYY format.
[Code] .....
If cell B5 of sheet1 is 2/1/2014, but my code is resulting in wrong as 01/02/2014.
View 3 Replies
View Related
Sep 6, 2013
I have several option groups (Y & N in each) linked to cells to display TRUE / FALSE depending on which option is selected in each group. I have another cell which I want to apply conditional formatting to if EITHER Y or N is selected in all groups. At present I use COUNTIF to check for FALSE=0 in the linked cells which works if all the answers are Y. How do I apply CF if there is a mixture of Y & N (TRUE / FALSE) in all groups (I'm not sure if I've explained that well or not).
Excel 2013
View 1 Replies
View Related
Aug 11, 2008
I am trying to make an option button visible only when a cell has a value, I understand that this will have to be done in VBA. So I have a value in C10 on page "Edit" and I only want my option buttons to appear when this cell has a value.
View 9 Replies
View Related
Dec 29, 2007
I'm trying to use option buttons to create a text entry in an adjacent cell.
Selecting Option Button 1 puts "GPM" in cell F23. Selecting Option Button 1 puts "lbm/hr" in cell F23 (The option buttons are from the control toolbox)
I receive ""Run-time error '424': Object Required"" and first line is highlighted- here is copy of
Sub FlowUnits()
If OptionButton1.Value = True Then
Sheets("Main Screen").Range("F23") = "GPM"
End If
If OptionButton2.Value = True Then
Sheets("Main Screen").Range("F23") = "lbm/hr"
End If
End Sub
View 3 Replies
View Related
Mar 9, 2012
What I am trying to accomplish is the ability to insert a value into a cell if an option button is selected. If the option button is not selected I want there to be a different value in the cell. This is what I have so far:
Sub OptionButton2_Click() Range("F8").Value = "$299" End Sub
What I am having issues with is the "else" clause. I want the value to show $0 if the option button is not selected. I attached a screen shot for reference.
View 1 Replies
View Related
Nov 22, 2006
I have a series of 12 option buttons on my spreadsheet named Opt_1 thro' opt_12. Whenever one is pressed, I want to invoke code to action the following:
change forecolor of non-selected option buttons to yellow
change forecolor of the selected option button to red
Enter in Cell A1 the number of the option button slected
So, for example, if Opt_4 was pressed, then
Opt_1 - Opt_3 & Opt_5 - Opt_12 forecolor = yellow
Opt_4 forecolor = red
Cell A1 gets the value of 4 entered into it.
I know how to do this on a user form, by putting the option buttons in a frame and then picking up the array value of the option button, but I have these directly on my spreadsheet next to 12 cells as this is more relevant to my application.
I thought of a Select - Case statement, but this will be rather lengthy. Have you any suggestions on how to tighten this code down.
View 3 Replies
View Related
Aug 31, 2007
i have a user form in my spreadsheet that uses option buttons and text boxes for user entry. i need to take the values and true false entries from the option buttons and place them in cells. i am alittle lost with this.
View 6 Replies
View Related
Jan 14, 2009
If I have a dropdown with
A (value 1)
B (value 2)
C (value 3)
D (value 4)
and a person selects one of those letters in the dropdown in column 1, I would like column 2 to show the number value associated with it
View 14 Replies
View Related
Jan 24, 2008
Is there a way to set up a "watch" on a cell so that if you type in a different number on a cell, OptionButton1_Click() gets activated? Example:
A9 = 12.0104
OptionButton2 is active.
In Cell A9 you type "25.0508". OPtionButton2 becomes inactive and OptionButton1 becomes active. I already have the buttons linked, i just do not know how to make the button get triggered if A9 changes.
View 8 Replies
View Related
Aug 4, 2013
fill the column "Level 2 Area" based on the value selected from "Level 1 Area" which is coming from a drop down list. So the "Level 2 Area" will be a drop down list also based on the selected value from the drop down list from "Level 1 Area".
Level 1 Area
Level 2 Area
View 7 Replies
View Related
Nov 2, 2007
Does anyone have any links to using .find object.find range.find properly? or can explain it?
Basically I have a column of unique numbers... and I have to offset to find what I'm looking for.. however it cannot be done with vlookup because i need it to also go down the column (variable number of entries) to retrieve whatever is under that entry.
View 9 Replies
View Related
May 30, 2013
Total amount in Column B should same as shown in Column F
=IF(E3<>"",SUM(OFFSET($C3,ISTEXT(E3),,,1):C3),"")Above formula is calculating always two rows.
View 2 Replies
View Related
Apr 10, 2009
I have problem with vlookup. I am attaching my file.
View 3 Replies
View Related
May 6, 2013
I have formatted cells to date but when I enter in a date of 020413 (Feb 04, 2013) my reslut shows as 11/20/55. I have a coworker who is having the same problem (but hers displays even a different date) so was wondering if there is a setting in excel that I don't know about.
View 1 Replies
View Related