+ Reply to Thread
Results 1 to 5 of 5

Want to hide the scroll bars( both horizontal and vertical) in one worksheet

  1. #1
    Registered User
    Join Date
    03-11-2013
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    8

    Want to hide the scroll bars( both horizontal and vertical) in one worksheet

    Hi,

    I am working on a macro which consists of so many sheets in one workbook. I want to lock the scroll bars in one of the sheets so that the content wont move off the screen. The other sheets should have the scroll bars..

    Please help me out

    Thanks in Advance

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Want to hide the scroll bars( both horizontal and vertical) in one worksheet

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    03-11-2013
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Want to hide the scroll bars( both horizontal and vertical) in one worksheet

    Thanks for your reply,

    This VBA code solved the problem to some extent, but If I close and reopen the Excel the scrolling in that sheet is again getting activated.

    Please help me resolve this....

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Want to hide the scroll bars( both horizontal and vertical) in one worksheet

    Please Login or Register  to view this content.
    put this macro not in a module but in thisworkbook section

  5. #5
    Registered User
    Join Date
    03-11-2013
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Want to hide the scroll bars( both horizontal and vertical) in one worksheet

    Quote Originally Posted by patel45 View Post
    Please Login or Register  to view this content.
    put this macro not in a module but in thisworkbook section
    Quote Originally Posted by ananthbulusu View Post
    Thanks for your reply,

    This VBA code solved the problem to some extent, but If I close and reopen the Excel the scrolling in that sheet is again getting activated.

    Please help me resolve this....
    Got the solution for this..Just I pasted the below code in the This workbbok in the VBA code..That way this will get executed at the opening time of the excel.
    TADA...problem solved...

    [ B]Private Sub Workbook_Open()

    Sheet8.ScrollArea = "A1:R17"

    End Sub
    [/B]

    Thank you all

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1