Bonjour,
Je souhaite faire un ruban avec drowDown de 30 boutons sous Excel 2010.
Mais lorsque je dépasse les 16 boutons la vérification du Custom UI me renvoi une erreur.
Voici mon code
Je n'ai pourtant pas vu de limitation du nombre d'item dans le dropdown.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 <dropDown id="colors_contrat" label="Contrat"> <button id="contrat_1" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_1" tag="255-192-0" /> <button id="contrat_2" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_2" tag="22-54-92" /> <button id="contrat_3" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_3" tag="149-179-215" /> <button id="contrat_4" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_4" tag="150-54-52" /> <button id="contrat_5" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_5" tag="96-73-122" /> <button id="contrat_6" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_6" tag="148-138-84" /> <button id="contrat_7" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_7" tag="218-150-148" /> <button id="contrat_8" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_8" tag="196-215-155" /> <button id="contrat_9" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_9" tag="0-112-192" /> <button id="contrat_10" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_10" tag="177-160-199" /> <button id="contrat_11" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_11" tag="58-199-218" /> <button id="contrat_12" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_12" tag="118-147-60" /> <button id="contrat_13" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_13" tag="255-255-255" /> <button id="contrat_14" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_14" tag="75-172-198" /> <button id="contrat_15" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_15" tag="248-164-94" /> <button id="contrat_16" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_16" tag="0-0-0" /> <button id="contrat_17" getLabel="getBtLabel" onAction="OnActionColor" getVisible="getBtVisible" image="contrat_17" tag="0-255-0" /> </dropDown >
Est-ce que quelqu'un à une idée ?
Merci
Vincnet68
Partager