+ Reply to Thread
Results 1 to 3 of 3

worksheet size limit

  1. #1
    Sachin Narute
    Guest

    worksheet size limit

    Hi all,
    I want to use only 500 cells and A to N cells not ore than 500 cells.
    i want to limit this no of cells.

    Regards,
    Sachin

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning Sachin Narute

    You have two options:

    (1) Hide columns O to IV and rows 500 to 65,536. This will give the appearance of a spreadsheet set on a 14 x 500 grid.
    (2) Use the ScrollArea command thus:

    Worksheets(1).ScrollArea = "A1:N500"

    Once run this macro will display the whole sheet but restict the users movements to your prescribed range. This would not be saved with the workbook, but you could run this from your Workbook_Open event so that it is run when the file is opened.

    HTH

    DominicB

  3. #3
    Roger Govier
    Guest

    Re: worksheet size limit

    Right click on the sheet tab of your workbook and choose View Code.
    When the Visual Basic Editor window opens, look for the Sheet Properies
    section (press F4 if it is not visible)
    In Scroll Area, set the range to be $A$1:$N$500
    Press the Xcel icon at top left of window to return to your sheet.

    You will now be restricted to only entering data or scrolling within the
    range A1 to N500


    --
    Regards

    Roger Govier


    "Sachin Narute" <[email protected]> wrote in message
    news:[email protected]...
    > Hi all,
    > I want to use only 500 cells and A to N cells not ore than 500 cells.
    > i want to limit this no of cells.
    >
    > Regards,
    > Sachin




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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