#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Limit workspace size

How does one restrict use in a small spreasdheet (15 columns x 30 rows)?
There's no need for other users to access the rest of the workspace, and I
would like to ensure that there is no confusion about the unused columns and
rows.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default Limit workspace size

Hello

You can hide unused rows and columns.

Or you could set the scrollarea in VBA to some range. Mind that this last
option is not retained when you close and reopen the file.

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Scratchtfoot" wrote:

How does one restrict use in a small spreasdheet (15 columns x 30 rows)?
There's no need for other users to access the rest of the workspace, and I
would like to ensure that there is no confusion about the unused columns and
rows.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Limit workspace size

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:M36"
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:M36"
End With
End Sub


Gord Dibben MS Excel MVP

On Sat, 19 Jul 2008 12:09:01 -0700, Scratchtfoot
wrote:

How does one restrict use in a small spreasdheet (15 columns x 30 rows)?
There's no need for other users to access the rest of the workspace, and I
would like to ensure that there is no confusion about the unused columns and
rows.


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 size limit? Oscar Excel Discussion (Misc queries) 1 August 20th 07 06:37 PM
File size limit Daniel Excel Discussion (Misc queries) 4 September 4th 06 06:50 AM
Cell size? Or size limit for Text data type? CClem Excel Discussion (Misc queries) 0 April 21st 06 04:09 PM
Workspace & Links referenced when workspace opened. LTB @ Miami, OK Excel Worksheet Functions 2 March 7th 06 10:28 PM
worksheet size limit Sachin Narute Excel Discussion (Misc queries) 2 August 2nd 05 11:54 AM


All times are GMT +1. The time now is 08:57 PM.

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"