Solved

Keep Listbox at top of Scrolling Worksheet

Posted on 2011-03-13
4
675 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
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now