Show Different Text Regarding The Selection?
Jan 16, 2014it is possible to make this in excel?
i make a scroll down and when i select a word show below some text pre defined by me
it is possible to make this in excel?
i make a scroll down and when i select a word show below some text pre defined by me
So in a nutshell, There is a month key pivot field which contains all months. Now I only want the current month and the previous month. These 2 variables have already been prepared and work. maand = current month and pmaand = previous maand. They both resemble a selectable pivot item for pivot field "MonthKey".
[Code] .......
Now I want to replace 04.April by pmaand and 05.May by maand.
However I always get an error and I tried without "" and with "" in several positions but it is not working.
I have selected 6 rows and 2 columns in a sheet and I have a button in the same sheet.Now I click the button it triggers the button_click where I have put msgbox to popup.But I need this selected value in message box instead of the my hard coded string.
sample value in the selected cell:
1,1.005
2, 3.006
.........
..........
Hi guys i am in assistance of your brilliant brains, i have a working drop down menu which when selected i can select my data range such as below: ...
View 6 Replies View RelatedIm currently creating a spreadsheet for my work, with common problems and solutions to one of our websites.
When the spreadsheet is opened, the user will click a button depending on what sort of problem he/she is having. In the example attached, if the user clicks on "make payments" a form will appear. This will have a list of problems.
if the user choses problem 1 from the drop down list, then I would like the list of solutions to problem 1(from the MPData sheet) to show in the box below. The same goes for problem 2, problem 3 etc.
does excel have a function or some kind of method where you can have it display the range of cells that you have selected? For example, if I highlight cells A5:G7 what would be the code for excel to display "A5:G7" in a message box? I need this to be dynamic, so the next time I select cells B3:T32, it needs to display "B3:T32."
View 5 Replies View RelatedI want to select a customer name from a ComboBox in a UserForm and populate a TextBox with additional customer information for the end user. The additional customer information is always located in C3 in sheet2 (the result of a formula). However, the text box only refreshes when I click into it. Is it possible to have it refresh without clicking into the userform textbox)? I’ve tried _Change and _Afterupdate. I'm sure this must be easy for anyone but a novice like myself. Sample attached (play marco...button dead?).
Private Sub ComboBox1_Initialize()
Me.TextBox1.Text = ""
End Sub
Private Sub ComboBox1_Afterupdate()
Me.TextBox1.Text = Worksheets("Sheet2").Range("C3").Value
End Sub
I have some data validation drop down lists in excel, I can tab through all the lists but I have to press alt + down arrow to show the list, Is their a way it can be automatically shown as soon as I focus on the tab.
Check the attachment: Survey.xlsx‎
Basically I have a form where the list can expand and contract so there will always be varying row lengths.
What I would like to see is a drop down list that shows a) the actual populated field and b) a description of the field when the drop down list is present.
I believe this can be done with a combo box however that would be a lot of work.
I have created a UserForm that has a ComboBox and depending on the number selected I want it to show that number of Labels/TextBoxes...
So if I select "0" nothing is shown, if I select "1" one set of Labels/TextBoxes is shown, select "2" and two sets of Labels/TextBoxes are shown... but also if I have selected "2" and then select "1" I want the second set to be hidden again...
Also I know I should have renamed the Label/TexBoxes to make it easer but I was adding things and making it up as I went along...
I'm using Excel 2010 on windows 7.
Code:
Sub UnHide_NewRoutings()
If (Engineering.ComboBox2.value) = "0" Then
Engineering.Label4.Visible = False
Engineering.TextBox5.Visible = False
Engineering.Label9.Visible = False
Engineering.TextBox9.Visible = False
[Code] ..........
I have scoured the net for the following and have not been able to find a solution. I have found variations but not something specific for the use needed here.
I have attached a file with sample data which has the following format.
Column 1 = vehicle model (in this example golf, jetta, but there will be over 100 choices)
Column 2 = vehicle package option for specified vehicle model (automatic transmission, manual transmission, automatic transmission with air conditioning, etc...)
Column 3 = vehicle colour available for vehicle package option
Please note that Column 2 values for 'golf' are different than values available for 'jetta' (in the sample data I have blocked out common values with the same colour for quick and easy identification)
Also please note that Column 3 values of colour options vary for each 'vehicle package option'.
The behaviour that would be ideal is to have 3 drop down menus. The first drop down menu will allow selection from column 1 and will show each model only one time and repeated values will not be shown. The second drop down menu will only show the options available based on the selection in the first drop down menu. Likewise, the third drop down menu will show the colour options available based on the selection in the second drop down menu.
Since my data will involve hundreds of unique values in column 1 with plenty more added over time, it seems that the format of the data and the way it is laid out in the attached sample is the easiest way to organize it. It is perhaps also the easiest way to include new data without a lot of reprogramming.
Sample Data - Dependent Drop Down Cells Question.xlsx
If the user selects French (radio button selection), I want to swap out the existing English text for French and vice versa. One large text box with several paragraphs. Can Excel do this?
View 2 Replies View RelatedI have a spread sheet were the area is getting very limited. I need to insert a small icon and when the mouse goes over (like it does in a form tool tip) will show the value of a cell (text value) located in another sheet in same workbook, or I was thinking inset a comment next to the icon and link the comments of the comments text to cell with the text value.
View 14 Replies View RelatedI have a spread sheet were the area is getting very limited. I need to insert a small icon and when the mouse goes over (like it does in a form tool tip) will show the value of a cell (text value) located in another sheet in same workbook, or I was thinking inset a comment next to the icon and link the comments of the comments text to cell with the text value.
I've look the properties of this to objects and can figure it out.
I want to create 3 command buttons (active X) on a worksheet to toggle between showing rows which only contain the below text in column L (range L9:L30) and showing all rows containg the options (However, I also have some blank rows in this range and i always want them to remain hidden.)
My text options are:
High ‚
Medium ՠҪ
Low ’á
The text arrives in the cells via a VLOOKUP
Is the chinese text a problem? i can't type it into VB.
I've been using the following macro to hide and unhide rows with a command button in the same sheet:
Private Sub CommandButton1_Click()
Toggle_Hide_Unhide
End Sub
Sub Toggle_Hide_Unhide()
Dim rngCell As Range
Dim TakeAction As Boolean
If ActiveSheet.CommandButton1.Caption = "Hide" Then
TakeAction = True
ActiveSheet.CommandButton1.Caption = "UnHide"
Else
TakeAction = False
ActiveSheet.CommandButton1.Caption = "Hide"
End If
For Each rngCell In ActiveSheet.Range("I9:I30")
With rngCell
If .Value = 2 Then .EntireRow.Hidden = TakeAction
End With
Next rngCell
End Sub
I am trying to write a function that will compare the text of cell "A2" to the text of cell "B2" and display cell "A2"'s text characters that didnt match from cell "B2" in column C. Can anyone help me out with writing this formula?
EX: ....
I have a drop-down list with 3 values:
A
B
C
The list is generated from a table, which is hidden, like so:
Column 1 - Column 2
A - Text1
B - Text2
C - Text3
Now I want to have a very simple function that will allow me to COPY the text from Column 2 based on the selection from the drop-down list. For example, when the user selects "B" from the drop-down list, I want the text "Text2" to be copied to a specific cell.
I'd like to be able to highlight a row of data in an Excel spreadsheet that were just entered by the user, click on a button that's linked to a VBA macro that exports the highlighted data to a text file (with a .txt extension), saves that text file & exits from it without the user having to say Yes to a dialog box that asks if he/she wants to save.
View 9 Replies View RelatedI am using a form which has 3 text boxes and a list box. How do I copy the selection of a list box to the text box based on my active text box. So, if I was in text box1, and I click a selection in listbox1, it copies that selection to textbox 1, etc.
View 4 Replies View RelatedI have a userform that has 3 option buttons (1, 2 & 3) each of these option buttons have a Label next to them, Label (1, 2,& 3) next to that I have 3 textboxes that are formatted for currency. Each label represents a dollar value $10.00, $20.00 & $30.00
OptionButtom Label TextBox
1 Month Member x $10.00 $.00
2 Month Member x $20.00 $.00
3 Month Member x$30.00 $.00
When one of the OptionButtons is selected I want the corresponding label dollar value to be multiplied by the OptionButton and that value placed in the TextBox
i.e. if OptionButton 1 is select the TextBox would have a value of $10.00
if OptionButton 2 is selected then TextBox would have a value of $40.00
if OptionButton 3 is selected then TextBox would have a value of $90.00
Lastly, if 1 Option Button is selected and then changed to another of the 2 buttons, the TextBox value would reset to $.00
I am having an issue with converting what seems like Text to Dates. I am trying to group dates in my pivot table, but I keep getting the error "cannot group this selection". My dates are left justified, causing me to believe that they are text.
When I format the cells, however, the cells say that they are already in date format. When I try using Text to Columns in the Data Tab and selecting MDY, I get the error "You cannot move a pivot table table report or insert worksheet cells, rows, or columns."
Not sure what to do from here, as I would like to group dates by weeks.
A sample macro has EXACTLY the effect that I want, but contains absolute references. I want it to operate on a string selected by the mouse. How can I make that conversion ?
The successful macro will change the case of text I select to lower case.
I filtered my database in such a way that i end up with a list in which different companies are shown.
For example:
Companies (column A)
MER
MER
TYH
INT
MER
TYH
TYH
Now i want excel to count for me the number of different companies active (so in this example it would be 3, that is MER + TYH + INT). Does anyone know how to make this formula?
How to convert any types format into Text with 5 digits in selection?
For instance, the content I select is "234", and I want it to convert to "00234". Just like the function "TEXT" in excel. How can I realize it promptly in VBA?
I want to populate the values of two textboxes that we will call TextBox5 and TextBox6 from columns W and X of a spreadsheet called "PowerAnalysis" when a selection is made form ComboBox5.
The ComboBox5 works perfectly now. I just need it to populate the other two text boxes.
All the data resides in the same row on the same sheet of PowerAnalysis when the selection is made in ComboBox5.
I hope I have been able to give a clear picture of what I am wanting to do.
When selecting from a list of text items in a pull down menu in a cell how can you link that change to other cells to effect a change in them. An example would be if the pull down menu was in cell A1 and as a result of the text selected to be shown in A1 resulted in a need for the text in C3 to be changed as well as the formula in cell D3 to be change which will result in a numeric answer in cell D3. Not all of the choices in cell A1 will require that the text and formula be change in cell C3 and D3.
View 3 Replies View RelatedI want to get only the amount in a cell that contains date, name, and amount sample:
in A1:A2
1970 Mario Gonzalez $700
1973 Mario Krupa $500
i want only the amount of Gonzalez to be display in b1 (or any cell beside that "Gonzalez" name), and if not Gonzalez then no text to be display.
I am wondering, in excel 2003 is it possible to randomly select two numbers from one column, say column b9:b45, that are random numbers, and selected by two different font colors. In other words: b9=1348, b10=1349, b11=1350, b12=1351, b13=1352, b14=1353.
Say we press a macro button, and in field B50 one radom black colored number is selected of a field of say 30 numbers that are all black in that column, and in b51, one red number is selected, in a field of 30 red numbers. We want to used this macro to select winners simulating a raffle drawing.
I have a spreadsheet which contains our fleet information covering many vehicles in one list. The teams for these vehicles are listed in Column A. What I would like to have is:
A dropdown box to pick from All, or the various teams in A1To hide every row that doesn't match the selection of A1To reveal every row that contains the selection for A1 at any point in column A. e.g: "*Dog Team*"
This is because something might be listed as "Moved from Dog Team" or "Dog Team, temporarily on loan", or "Dog Team V66.m"
I have taken a small sample of the data I will be working from and made a very simple drop down box which displays the pages of information for the vehicles by hiding/unhiding blocks of columns:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$2" Then
If Range("A2") = "MOT/Service" Then
ActiveSheet.Columns("A:P").EntireColumn.Hidden = False
ActiveSheet.Columns("Q:CE").EntireColumn.Hidden = True
ElseIf Range("A2") = "Contact Details" Then
[Code]....
But because there is also filters on the sheet, meaning the positions of the entries based on rows can change, I need it to search for the "*xyzzy*" method, but am unsure how to do this! While just using the Filters will work, due to some human limitations I have been asked to have a specific drop down box in a very specific location with instructions next to it.
I have a excel file that tracks completion rates and has lots of formulas but there is one that I cannot figure out.
I want a formula that will display "not completed in time" (for example) if completion isn't 100% by the planned completion date. The problem I have is that I want to have a record of this and if the completion rate becomes 100% after the planned completion date it will no longer show "not completed in time". Is there a way to setup a formula that will show data in a cell if the formula has EVER met certain criteria.