Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 15th 08, 04:20 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2006
Posts: 137
Default Freezing columnes and rows

I have created a program in excel however i don't want people to be able to
scroll to the right after column F and i don't want them to be able to scroll
after row 27 how can i do this so that they can only view what is inside
those two areas? Do i have to create a macro? If i do what would the Macro
code be? Help is greatly appreciated.
--
Thank you, Brenda

  #2   Report Post  
Old October 15th 08, 04:53 PM posted to microsoft.public.excel.misc
RAZ RAZ is offline
external usenet poster
 
First recorded activity by ExcelBanter: Mar 2007
Posts: 120
Default Freezing columnes and rows

you may hide these columns and rows if you do not want others to see them


"Brenda" wrote:

I have created a program in excel however i don't want people to be able to
scroll to the right after column F and i don't want them to be able to scroll
after row 27 how can i do this so that they can only view what is inside
those two areas? Do i have to create a macro? If i do what would the Macro
code be? Help is greatly appreciated.
--
Thank you, Brenda

  #3   Report Post  
Old October 15th 08, 05:55 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2006
Posts: 137
Default Freezing columnes and rows

When i hide them it hides my entire sheet
--
Thank you, Brenda


"Brenda" wrote:

I have created a program in excel however i don't want people to be able to
scroll to the right after column F and i don't want them to be able to scroll
after row 27 how can i do this so that they can only view what is inside
those two areas? Do i have to create a macro? If i do what would the Macro
code be? Help is greatly appreciated.
--
Thank you, Brenda

  #4   Report Post  
Old October 15th 08, 05:58 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2006
Posts: 137
Default Freezing columnes and rows

That isn't what i am looking for i did get that to work but you can still
scroll down and i don't want them to be able to scroll down at all. How do i
fix that please refer to my orginal message. thanks
--
Thank you, Brenda


"Brenda" wrote:

I have created a program in excel however i don't want people to be able to
scroll to the right after column F and i don't want them to be able to scroll
after row 27 how can i do this so that they can only view what is inside
those two areas? Do i have to create a macro? If i do what would the Macro
code be? Help is greatly appreciated.
--
Thank you, Brenda

  #5   Report Post  
Old October 15th 08, 06:54 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2008
Posts: 1,358
Default Freezing columnes and rows

You could go one step further.
First, click in cell G28, then go to menu Window|Freeze Panes
Second, as before, hide columns G through IV
Third, hide rows 28 through 65536 (both assumptions is that you have xl2003.
Now, your block of data stays there no matter how much 'scrolling is
attempted. For aesthetics, you could go to menu Tools|Options, and uncheck
the checkbox for Row & column heaers on the View tab, and then it won't even
'bump out a little' when they scroll down.


--
John C


"Brenda" wrote:

That isn't what i am looking for i did get that to work but you can still
scroll down and i don't want them to be able to scroll down at all. How do i
fix that please refer to my orginal message. thanks
--
Thank you, Brenda


"Brenda" wrote:

I have created a program in excel however i don't want people to be able to
scroll to the right after column F and i don't want them to be able to scroll
after row 27 how can i do this so that they can only view what is inside
those two areas? Do i have to create a macro? If i do what would the Macro
code be? Help is greatly appreciated.
--
Thank you, Brenda



  #6   Report Post  
Old October 15th 08, 07:10 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Mar 2007
Posts: 28
Default Freezing columnes and rows

On Oct 15, 1:54*pm, John C <[email protected] wrote:
You could go one step further.
First, click in cell G28, then go to menu Window|Freeze Panes
Second, as before, hide columns G through IV
Third, hide rows 28 through 65536 (both assumptions is that you have xl2003.
Now, your block of data stays there no matter how much 'scrolling is
attempted. For aesthetics, you could go to menu Tools|Options, and uncheck
the checkbox for Row & column heaers on the View tab, and then it won't even
'bump out a little' when they scroll down.

--
John C



"Brenda" wrote:
That isn't what i am looking for i did get that to work but you can still
scroll down and i don't want them to be able to scroll down at all. How do i
fix that please refer to my orginal message. thanks
--
Thank you, Brenda


"Brenda" wrote:


I have created a program in excel however i don't want people to be able to
scroll to the right after column F and i don't want them to be able to scroll
after row 27 how can i do this so that they can only view what is inside
those two areas? Do i have to create a macro? If i do what would the Macro
code be? Help is greatly appreciated.
--
Thank you, Brenda- Hide quoted text -


- Show quoted text -


And to go a bit further you can unlock the visible cell if they need
to be modified, then protect the sheet by allowing the user to select
unlocked cells. After this even if someone wants to unhide the hidden
content it wouldn't be possible.

Note: this is an extra step to do if you follow John C advise.

Frank G
  #7   Report Post  
Old October 16th 08, 12:20 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 22,907
Default Freezing columnes and rows

You could set the scrolling area through VBA

Since the scrollarea method does not stick between sessions you will have to
reset it each time you open the workbook.

You may wish to place the code into a WorkBook_Open Sub in ThisWorkbook
module and specify which worksheet if only one sheet required.

Adjust the sheetname and range to suit.

Private Sub WorkBook_Open()
Sheets("YourSheet").ScrollArea = "A1:F27"
End Sub

Or this in the Thisworkbook module to limit scrollarea on all sheets.

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
With ActiveSheet
.ScrollArea = "A1:F27"
End With
End Sub


Gord Dibben MS Excel MVP

On Wed, 15 Oct 2008 09:58:01 -0700, Brenda
wrote:

That isn't what i am looking for i did get that to work but you can still
scroll down and i don't want them to be able to scroll down at all. How do i
fix that please refer to my orginal message. thanks


  #8   Report Post  
Old October 25th 08, 07:47 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2006
Posts: 137
Default Freezing columnes and rows

when i apply this code and i scroll to the right why can't i scroll back to
the left when there is text.
--
Thank you, Brenda


"Gord Dibben" wrote:

You could set the scrolling area through VBA

Since the scrollarea method does not stick between sessions you will have to
reset it each time you open the workbook.

You may wish to place the code into a WorkBook_Open Sub in ThisWorkbook
module and specify which worksheet if only one sheet required.

Adjust the sheetname and range to suit.

Private Sub WorkBook_Open()
Sheets("YourSheet").ScrollArea = "A1:F27"
End Sub

Or this in the Thisworkbook module to limit scrollarea on all sheets.

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
With ActiveSheet
.ScrollArea = "A1:F27"
End With
End Sub


Gord Dibben MS Excel MVP

On Wed, 15 Oct 2008 09:58:01 -0700, Brenda
wrote:

That isn't what i am looking for i did get that to work but you can still
scroll down and i don't want them to be able to scroll down at all. How do i
fix that please refer to my orginal message. thanks



  #9   Report Post  
Old October 26th 08, 04:49 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 22,907
Default Freezing columnes and rows

Sorry Brenda but I don't understand what you're asking.

Setting the scrollarea allows you scroll within that set area only.

i.e. A1:F27 in the example posted


Gord

On Sat, 25 Oct 2008 11:47:00 -0700, Brenda
wrote:

when i apply this code and i scroll to the right why can't i scroll back to
the left when there is text.




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
freezing rows and columns duckie Excel Worksheet Functions 1 April 28th 08 10:52 AM
Headers (or freezing rows) Gene L. New Users to Excel 3 March 30th 08 01:15 AM
**freezing rows ** zoom zoom Excel Discussion (Misc queries) 1 May 31st 07 09:56 PM
Freezing rows and columns Michael Excel Worksheet Functions 2 August 12th 05 04:02 AM
Freezing? Rows Ourania Excel Discussion (Misc queries) 2 January 18th 05 08:47 PM


All times are GMT +1. The time now is 09:12 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017