Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a listbox in an Excel sheet. Sometimes when I click in it, the
Excel sheet scrolls so that the listbox is at the top: When cell in sheet is selected, click in listbox = Scroll occurs When value in listbox is selected, click in listbox = Scroll does not occur How do I prevent scrolling from occurring in the first instance? Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Did you build the listbox or borrow it? It sounds like you acquired some programming code along with the listbox. However, try right-clicking the list box, select "Format Control" and, on the Properties tab, checkmark "Don't move or size with cells". -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "SmileyMau" wrote in message I have a listbox in an Excel sheet. Sometimes when I click in it, the Excel sheet scrolls so that the listbox is at the top: When cell in sheet is selected, click in listbox = Scroll occurs When value in listbox is selected, click in listbox = Scroll does not occur How do I prevent scrolling from occurring in the first instance? Thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jim,
Thanks for the quick reply. I built the listbox by selecting the listbox tool from the VBA control toolbox and then dragging a new one with my cursor. I checked and there was no code associated with it. I switched the property from "Move but don't size with cells" to "Don't move or size with cells" but it had no effect. The only way I know to prevent it right now is to freeze the pane right at the top of the listbox. Any other ideas? Thanks, Marianne On 30 Nov, 08:50, "Jim Cone" wrote: Did you build the listbox or borrow it? It sounds like you acquired some programming code along with the listbox. However, try right-clicking the list box, select "Format Control" and, on the Properties tab, checkmark "Don't move or size with cells". -- Jim Cone San Francisco, USAhttp://www.realezsites.com/bus/primitivesoftware "SmileyMau" wrote in message I have a listbox in an Excel sheet. Sometimes when I click in it, the Excel sheet scrolls so that the listbox is at the top: When cell in sheet is selected, click in listbox = Scroll occurs When value in listbox is selected, click in listbox = Scroll does not occur How do I prevent scrolling from occurring in the first instance? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select a list in 1 cell by selecting an item from another list in | Excel Discussion (Misc queries) | |||
using scroll with list function | Excel Discussion (Misc queries) | |||
Update relevant sheet after selecting from a drop down list? | Excel Worksheet Functions | |||
Excel - allow page scroll with mouse wheel when selecting cells | Excel Discussion (Misc queries) | |||
Auto copy/ paste on relevant work sheet when selecting list item | Excel Programming |