Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2008

Tip: Looking for answers? Try searching our database.

Changing frozen headers while scrolling

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TheCornjerker - 12 Jan 2008 16:48 GMT
Hi,

I have a situation where I'd like to change the freeze pane headers
when a scroll hits a certain line.  For example:

FROZEN HEADER 1
data
data
data
data
FROZEN HEADER 2
data
data
data
data
FROZEN HEADER 3
data
data
data
....

The data line extend off the bottom of the screen, but as the user
scrolls down the page, I'd like to change the header at the top of the
sheet.  If I freeze "FROZEN HEADER 1" and the user scrolls down to the
data lines under "FROZEN HEADER 2", then the frozen header needs to
change to "FROZEN HEADER 2"

Is this possible with some setting or VBA?
Thanks,
C
Sandy Mann - 12 Jan 2008 19:23 GMT
If you could do it, how would you scroll back up with frozen panes?

Signature

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk

> Hi,
>
[quoted text clipped - 26 lines]
> Thanks,
> C
TheCornjerker - 12 Jan 2008 19:49 GMT
> If you could do it, how would you scroll back up with frozen panes?
>
[quoted text clipped - 39 lines]
>
> - Show quoted text -

As you scoll backup, I need the reverse to happen.  When you hit the
data at bottom of the header 1 secton, the header 1 would re-appear at
the top.

After a little more research, this doesn't look like a trivia task.
There doesn't seem to be an OnScroll event in Excel.  There are some
hacks but nothing maintainable.

Oh well.
Earl Kiosterud - 13 Jan 2008 01:34 GMT
Corn,

It could probably be done with an event-fired macro that, when the user wants to have frozen
header 2 in place, turns off freeze panes, scrolls the sheet upwards until header 2 is at
the top of the screen, then turns on freeze panes again.  One question would be how you want
it to be signaled to do this.
Signature

Regards from Virginia Beach,

Earl Kiosterud
www.smokeylake.com

-----------------------------------------------------------------------

> Hi,
>
[quoted text clipped - 26 lines]
> Thanks,
> C
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.