Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default How to make a row unscrollable

I saw a worksheet make a row eg. row 15 that stay at that position, the rows
under this row can be scrolled up or down.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default How to make a row unscrollable

this is basic stuff

menu: Windows / Split
Windows / Freeze Panes

start the recorder, split & freeze,stop recording, read the code, amend as
required


Sub Freezer()
With ActiveWindow
.SplitRow = 14
.FreezePanes = True
End With
End Sub


"Man Utd" wrote:

I saw a worksheet make a row eg. row 15 that stay at that position, the rows
under this row can be scrolled up or down.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default How to make a row unscrollable

I think you are referring to Window-Freeze Pane option. Select the row
below the one you wish to freeze, in this case row 16 and choose
windows-freeze panes. You can also freeze vertically by selecting a
column or both horizontal and vertically by selecting a cell.

Chose the same option to reverse (windows-Unfreeze pane)

In VBA you can use,

'turn on
Rows("16:16").Select
ActiveWindow.FreezePanes = True

'turn off
ActiveWindow.FreezePanes = False

You do not need to select the row to turn freeze off, but you do need to
specify the worksheet or make it the active worksheet. If the active sheet
is a chart sheet you will get an error.

--
Cheers
Nigel



"Man Utd" wrote in message
...
I saw a worksheet make a row eg. row 15 that stay at that position, the

rows
under this row can be scrolled up or down.




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
Make table query will work in datasheet view but will not make tab WildlyHarry Excel Discussion (Misc queries) 0 August 28th 07 03:06 PM
How do I make make comment format default? delta_charm Excel Discussion (Misc queries) 1 July 8th 06 10:59 PM
make macros usable! make instructions in plain english !!!! Brainless_in_Boston Excel Worksheet Functions 0 March 2nd 06 03:27 PM
How do I make each row add up seperatly? Please make it easy... Homeade baker and candy maker New Users to Excel 1 October 23rd 05 09:52 PM
how do I make make my hyperlinks show the email address they are . Dustin Excel Discussion (Misc queries) 0 January 13th 05 01:39 AM


All times are GMT +1. The time now is 10:50 AM.

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"