Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 217
Default freezing panes in group edit mode

Hi all

Quick and easy question - hopefully. In Excel, is it posisble to freeze
panes whilst in group edit mode? The actual freee panes option isn't greyed
out but it only seems to have been applied to Sheet1, although they were all
grouped.

Thank you.
Louise
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default freezing panes in group edit mode

I don't think so.

You could record a macro that freezes panes and then cycle through the selected
worksheets, though.

Option Explicit
Sub testme()

Dim wks As Worksheet
Dim myAddr As String

myAddr = "C3"
For Each wks In ActiveWindow.SelectedSheets
wks.Activate
ActiveWindow.FreezePanes = False
wks.Range("a1").Select
wks.Range(myAddr).Select
ActiveWindow.FreezePanes = True
Next wks

End Sub

The code removed any existing freeze panes, then selected A1 (so that it would
be visible), then selected C3 and froze panes there.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Louise wrote:

Hi all

Quick and easy question - hopefully. In Excel, is it posisble to freeze
panes whilst in group edit mode? The actual freee panes option isn't greyed
out but it only seems to have been applied to Sheet1, although they were all
grouped.

Thank you.
Louise


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 217
Default freezing panes in group edit mode

Worked perfectly, thank you. VBA isn't my strongest point but I thought
there would be a code I could use.

Thanks again.
Louise

"Dave Peterson" wrote:

I don't think so.

You could record a macro that freezes panes and then cycle through the selected
worksheets, though.

Option Explicit
Sub testme()

Dim wks As Worksheet
Dim myAddr As String

myAddr = "C3"
For Each wks In ActiveWindow.SelectedSheets
wks.Activate
ActiveWindow.FreezePanes = False
wks.Range("a1").Select
wks.Range(myAddr).Select
ActiveWindow.FreezePanes = True
Next wks

End Sub

The code removed any existing freeze panes, then selected A1 (so that it would
be visible), then selected C3 and froze panes there.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Louise wrote:

Hi all

Quick and easy question - hopefully. In Excel, is it posisble to freeze
panes whilst in group edit mode? The actual freee panes option isn't greyed
out but it only seems to have been applied to Sheet1, although they were all
grouped.

Thank you.
Louise


--

Dave Peterson

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
Calculate cell row and column Barb R. Excel Discussion (Misc queries) 7 May 2nd 05 07:02 PM
Need help w/ Weight Formula Tom Excel Discussion (Misc queries) 3 March 4th 05 05:23 PM
Using Group Mode in Excel...Cursor behavior. Mark P Excel Discussion (Misc queries) 1 February 15th 05 01:50 AM
Can't group pivot table items by month in Excel scott_ensley Excel Discussion (Misc queries) 1 February 1st 05 08:41 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 07:22 PM.

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

About Us

"It's about Microsoft Excel"