![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 31
|
I have created a user form, and want to retrict access to any other cells in my workbook, I also don't want the user to be able to scroll down the infinate number of rows available below my form PLEASE HELP.
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Posts: 31
|
keeping this on top cos i really need an answer!
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,512
|
Use Worksheet protection.
Select the cells you want to ALLOW entry into. Hit Format-Cells, Protection and remove the locked checkbox. From the Tools menu, choose Protect Worksheet or Workbook. Check out the help files.
__________________
~Anne Troy |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Las Vegas Nevada USA
Posts: 240
|
To restrict the scroll area use this code.
Private Sub Worksheet_SelectionChange(ByVal Target As Range) Me.ScrollArea = "H1:H50" ' change to suit 'To set back to normal use: Me.ScrollArea = "" End Sub [ This Message was edited by: GeorgeB on 2002-03-04 11:59 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|