B
BobT
I need code to do the following:
When the user mouse clicks a specified cell on the worksheet, say
Sheet1!A1, I want a list to appear, like a Combo Box, that shows
options from a field, Sheet2!A1:A50 it will be a long list and a
scroll bar will be needed).
When the user selects from that list, the cell (Sheet1!A1) should be
populated from the corresponding row in Sheet2!B1:B50, which contains
abbreviations of the descriptions in Sheet2!A1:A50.
I don't want to use a combo box as the cells where the data is entered
are two small and too close together (which is why they are populated
with abbreviations).
I also want to be able to copy Sheet1!A1 into several places (Case1,
Case2, Case3, etc.) and have the code continue to populate the cell
that is clicked on, not the original.
Finally, I would prefer if only a mouse click initializes the code,
not scrolling into the cell. Alternately, the list could appear on any
change to the cell. The point being that I want to be able to scroll
into the cell without bringing up the list.
Thanks for any help.
When the user mouse clicks a specified cell on the worksheet, say
Sheet1!A1, I want a list to appear, like a Combo Box, that shows
options from a field, Sheet2!A1:A50 it will be a long list and a
scroll bar will be needed).
When the user selects from that list, the cell (Sheet1!A1) should be
populated from the corresponding row in Sheet2!B1:B50, which contains
abbreviations of the descriptions in Sheet2!A1:A50.
I don't want to use a combo box as the cells where the data is entered
are two small and too close together (which is why they are populated
with abbreviations).
I also want to be able to copy Sheet1!A1 into several places (Case1,
Case2, Case3, etc.) and have the code continue to populate the cell
that is clicked on, not the original.
Finally, I would prefer if only a mouse click initializes the code,
not scrolling into the cell. Alternately, the list could appear on any
change to the cell. The point being that I want to be able to scroll
into the cell without bringing up the list.
Thanks for any help.