?
Solved

Keep Listbox at top of Scrolling Worksheet

Posted on 2011-03-13
4
Medium Priority
?
750 Views
Last Modified: 2012-06-21
I have a worksheet with about 300 rows x 2 columns, A and B. I also have a listbox with information in Column C

How can I keep the listbox visible while I am scrolling the worksheet? Right now it scrolls with the worksheet and quickly cannot be seen. I want it to stay in the viewing area of the scrolling worksheet.
Here is an image of the basic sheet:
 Initial View
Here is another image of the worksheet half hidden during scrolling.
 View after scrolling
I want the ListBox to remain visible during the time the worksheet is scrolling. Any idea how to do this with VBA?

Thanks in advance.

Joe
0
Comment
Question by:borgtamer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 2000 total points
ID: 35124725
This may be of use to you. Make the listbox into a textbox control on a form and set the Modal property of the form to false.


http://www.excelforum.com/excel-general/642265-floating-text-box.html
0
 
LVL 13

Expert Comment

by:Chris Raisin
ID: 35124732
I'm working on this Joe...Standby
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35126050
Why make the listbox into a textbox? You can add a listbox to a userform just as easily.
0
 
LVL 18

Expert Comment

by:Jerry Miller
ID: 35127571
You're right rorya, you can simply use the listbox control on a form and it works just as well. I was following the example I found without thinking it through completely. The form will 'float' in the area you set it and not roll up as you scroll down.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question