How do I show only used cells in a form?

Thespiv

New Member
Joined
Mar 2, 2002
Messages
31
I have created a User form but can't find how to show only the celss which have been used, I basically want to create a form that users can only access the fill in areas, check boxes or drop down lists?. I also want to estrict the usef from scrolling down any further than the bottom of the form etc. Can anyone help
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Just Dragging this to the top of the list incase the guy who has the answer is now up and about :smile:
 
Upvote 0
To restrict scroll area us this.

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
 
Upvote 0
GeorgeB, computer expert, mastermind, and super hero, fear not folks for where others attempt to problem solve, GeorgeB dons the cape and lycra suit and fly's in as ExcelMan. Tough, Fearless and faster than a speeding cursor. So stand aside all you would be 'experts' cos as far as I'm concerned GeorgB is No1 superfixer exrodinaire.
As you can probalby tell George, it worked,, and I am extremely grateful.

Thanks a Million

Terry (Thespiv):-> :smile:
 
Upvote 0

Forum statistics

Threads
1,223,374
Messages
6,171,727
Members
452,419
Latest member
mapa

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