All I want to show is my user form

Thespiv

New Member
Joined
Mar 2, 2002
Messages
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.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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.
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top