Automatically update of secondary cell entry in cascading dropdown menu

jondu

Board Regular
Joined
Feb 6, 2019
Messages
71
Hello,
I have a list of price in 2 languages : French (FR) en English (ENG).
Here is a model :


Please select a language
Dropdown list 1 (choice : 'FR' or 'ENG')

<tbody>
</tbody>


Object 150 Eur
Object 2100 Eur
Dropdown list 2 (choice : 'maison' or 'avion' in FR / 'house' or 'airplane' in ENG)150 Eur
Objet 4200 Eur

<tbody>
</tbody>

This price-list contains also choices, with dropdown menu list. Example here : the dropdown list 2.
If the selected language is FR (dropdown 1) => the dropdown 2 must show the choice 'maison' or 'avion' in FR
If the selected language is ENG (dropdown 1) => the dropdown 2 must show the choice 'house' or 'airplane' in FR
So i speak about cascading dynamic dropdown. Not so difficult.

BUT the thing is that I want that the previously selected choice in dropdown 2 change automatically language when value dropdown 1 is changed.
Example :
Dropdown 1 value = 'ENG'
Dropdown 2 value = 'airplane'
If dropdown 1 value is changed in 'FR', the cell of dropdown 2 should display automatically 'avion'.
The user must NOT reset manually his choice in dropdown 2.

Any ideas ?
 
Last edited:
Oh yeah !
You are a king MickG
Unfortunately I don't have time now, but I insert the code in my own document on saturday. I keep you posted !
 
Last edited:
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
ow no.
I do the changes and then close the sheet. When I want to reopen the sheet I get this message :
"désolé...Nous avons trouvé un problème dans le contenu de "NAME", mais nous pouvons essayer de récupérer le maximum du contenu. Si la source de ce classeur est fiable, cliquez sur Oui."
Then I click YES the sheet open and is empty : so all my changes are lost ! (so much time...)
Any idea ?
 
Upvote 0
ok no sorry (I did not see well) : it's not that the sheet is empty, it's just that I have to reinitialise manually the 4 dropdown lists. Still annoying...
 
Upvote 0
So precisions, after re-open and clicked YES at the error message, I have to (every time) :
- reset manually the dropdown lists
- copy the VBA code wich is in another new sheet in Microsoft Visual Basic and paste it in my active sheet
- rename manually the cells (Data1, Data2 etc.) in my sheet (names have disappeared)
So there is something wrong...
 
Upvote 0
Ok after many tests, I understand that the problem is related to the length of the options in columns A, B, C of Sheet2 (instead of 'fr1' and 'eng1' for example, I have small sentences)
 
Upvote 0
and it's not related to accents or spaces, just the length (not the length of a single option, but the accumulation of several long options)
 
Upvote 0
Yes, and I tried with your own file : does the same error (due to length of option)
 
Upvote 0

Forum statistics

Threads
1,215,680
Messages
6,126,188
Members
449,297
Latest member
Berek82

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top