Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Limiting the size of a worksheet

I need to keep the scrollbars but limit the size of a worksheet to keep
the users from scrolling around outside of my application. I would like
to simply remove all rows/columns after a certain row/column number.
Anyone knows the easiest way do do this?

thanks,

Ulf
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Limiting the size of a worksheet

Hi Ulf
one way: simply hide these rows/columns

--
Regards
Frank Kabel
Frankfurt, Germany

Ulf Liljensten wrote:
I need to keep the scrollbars but limit the size of a worksheet to
keep the users from scrolling around outside of my application. I
would like to simply remove all rows/columns after a certain
row/column number. Anyone knows the easiest way do do this?

thanks,

Ulf

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Limiting the size of a worksheet

Ulf

Couple of options.

1. Hide the columns you don't want to be visible.

2. You may want to try setting the Scroll Area.

This setting will not remain after closing the file.
Place a code line in the Workbook open event to set it
each time when you open the workbook

Private Sub Workbook_Open()
Sheets("Sheet1").ScrollArea = "A1:H40"
End Sub

Adjust to your sheetname and range.

Gord Dibben Excel MVP


On Fri, 05 Mar 2004 15:00:28 GMT, Ulf Liljensten
wrote:

I need to keep the scrollbars but limit the size of a worksheet to keep
the users from scrolling around outside of my application. I would like
to simply remove all rows/columns after a certain row/column number.
Anyone knows the easiest way do do this?

thanks,

Ulf


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
Worksheet Automation and Size Limiting AUCP03 Excel Worksheet Functions 0 April 9th 09 10:25 PM
Limiting cell size to 25 characters pj Excel Discussion (Misc queries) 2 October 3rd 07 02:03 PM
uisng two paramaters for conditional formatting / Limiting screen size Colin Hayes Excel Discussion (Misc queries) 4 May 20th 07 05:32 PM
Limiting size field MS query returns LarryLL Excel Discussion (Misc queries) 0 July 6th 06 11:52 PM
Limiting access to a worksheet Andrew[_23_] Excel Programming 2 September 11th 03 01:07 AM


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