Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default Prevent strolling pass a particular cell

Ive develop an Excel worksheet for data collection. The worksheet contains
info in cells A1 to M192. I want users only to utilize these cells and not
have the ability to scroll to blank worksheet area. Is there a way to
prevent user from strolling pass a particular column and row?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 227
Default Prevent strolling pass a particular cell

Hi Paul

Place the sub below in the ThisWorkbook module.

Private Sub Workbook_Open()
Sheets("Sheet1").scrollarea = "A1:M192"
End Sub

--
XL2002
Regards

William



"Paul" wrote in message
...
| I've develop an Excel worksheet for data collection. The worksheet
contains
| info in cells A1 to M192. I want users only to utilize these cells and
not
| have the ability to scroll to blank worksheet area. Is there a way to
| prevent user from strolling pass a particular column and row?
|
| Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Prevent strolling pass a particular cell

sheets("Sheet1").scrollarea = "$A$1:$M$192"

HTH

"Paul" wrote:

Ive develop an Excel worksheet for data collection. The worksheet contains
info in cells A1 to M192. I want users only to utilize these cells and not
have the ability to scroll to blank worksheet area. Is there a way to
prevent user from strolling pass a particular column and row?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Prevent strolling pass a particular cell

If you know that your users will not need any additional rows or columns, the
Worksheet.ScrollArea would do you fine.

But what if you require later to expand the area available to your users?

I for one have not found the solution, yet, to dynamically restrict the
ScrollArea to the user.

"Paul" wrote:

Ive develop an Excel worksheet for data collection. The worksheet contains
info in cells A1 to M192. I want users only to utilize these cells and not
have the ability to scroll to blank worksheet area. Is there a way to
prevent user from strolling pass a particular column and row?

Thanks

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
Pass Cell Address to OFFSET ExcelGuy555 Excel Worksheet Functions 3 August 18th 07 07:42 AM
How to change color of cell as dates pass Jeanne Excel Worksheet Functions 1 October 13th 06 09:41 PM
How to pass values of a cell? Me Excel Discussion (Misc queries) 4 March 4th 05 05:35 PM
How to pass value in cell between workbooks ? CHANON Excel Programming 1 November 29th 03 10:45 AM
How to pass valve in combobox object to cell chanon Excel Programming 3 October 15th 03 04:25 AM


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