ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ComboBox update (https://www.excelbanter.com/excel-programming/372387-combobox-update.html)

Justin[_14_]

ComboBox update
 
Is there a better way to update the worksheet upon making a new
selection in a ComboBox other than changing focus from the combobox to
another object, and then returning the focus to that combobox on a
combobox_change() event?


Peter[_58_]

ComboBox update
 
Depends on which kind of combobox you are using:

If using the one from the forms toolbar then you can use right click
/format control/control tab/linked cell.

This ensures that the cell named always has a copy of what is selected.


A similar facility exists for the control toolbox combo and this is
acessible via the right click/properties/linked cell


Justin[_14_]

ComboBox update
 
I forgot to mention that I'm using comboboxes in a UserForm, not on the
worksheet itself.

Peter wrote:
Depends on which kind of combobox you are using:

If using the one from the forms toolbar then you can use right click
/format control/control tab/linked cell.

This ensures that the cell named always has a copy of what is selected.


A similar facility exists for the control toolbox combo and this is
acessible via the right click/properties/linked cell




All times are GMT +1. The time now is 11:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com