Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Selecting list box causes sheet to scroll

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Selecting list box causes sheet to scroll


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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Selecting list box causes sheet to scroll

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Select a list in 1 cell by selecting an item from another list in Jonners Excel Discussion (Misc queries) 2 July 10th 09 10:31 PM
using scroll with list function Rita Excel Discussion (Misc queries) 1 April 15th 09 02:50 AM
Update relevant sheet after selecting from a drop down list? MG Excel Worksheet Functions 1 December 24th 08 02:23 PM
Excel - allow page scroll with mouse wheel when selecting cells Molson Excel Discussion (Misc queries) 1 March 6th 08 08:42 PM
Auto copy/ paste on relevant work sheet when selecting list item Niraj Manglam Excel Programming 1 June 6th 06 03:13 PM


All times are GMT +1. The time now is 06:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"