Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Changing Freeze Panes as I scroll down

I have two tables in one spreadsheet, directly below each other -
different column headings for each. I'm wanting the frozen panes for
the column headings to change as I scroll down to the second table.

An If statement specifying the heading may be entered, referenced to a
cell that dispays the number of times i've clicked down - by how do I
do that?

Thanking you in advance for any input...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Changing Freeze Panes as I scroll down

I don't think there is a way to catch the scrolling events, so no way to
know when your scroll window has moved to the second table.

What I can suggest is using two windows stacked on top of each other.
From the Window menu, select 'New Window'.
Freeze each of their panes for the column header.

Then run the Windows.Arrange method to horizontally synchronise them. When
one scrolls right, the other does too!

Sub test()
Windows.Arrange ArrangeStyle:=xlArrangeStyleHorizontal, _
ActiveWorkbook:=True, SyncHorizontal:=True
End Sub


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Matthew Turinski" wrote in message
m...
I have two tables in one spreadsheet, directly below each other -
different column headings for each. I'm wanting the frozen panes for
the column headings to change as I scroll down to the second table.

An If statement specifying the heading may be entered, referenced to a
cell that dispays the number of times i've clicked down - by how do I
do that?

Thanking you in advance for any input...



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
Excel 2003 freeze panes won't freeze top row only macbone2002 Excel Discussion (Misc queries) 3 April 22nd 23 02:07 AM
FREEZE PANES mjw Excel Discussion (Misc queries) 1 August 18th 09 05:30 PM
Freeze panes Lauren Giles Excel Discussion (Misc queries) 2 March 5th 07 04:16 PM
When optioning Freeze Panes below header row cannot scroll down Frozenscrolls Excel Discussion (Misc queries) 1 March 6th 06 09:04 PM
Freeze Panes rexmann Excel Discussion (Misc queries) 4 June 9th 05 03:00 PM


All times are GMT +1. The time now is 11:01 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"