Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: All I want to show is my user form

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    31
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #2
    New Member
    Join Date
    Mar 2002
    Posts
    31
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    keeping this on top cos i really need an answer!

  3. #3
    MrExcel MVP Anne Troy's Avatar
    Join Date
    Feb 2002
    Location
    Westwood NJ
    Posts
    2,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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. #4
    Board Regular
    Join Date
    Feb 2002
    Location
    Las Vegas Nevada USA
    Posts
    239
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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 ]

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •