+ Reply to Thread
Results 1 to 11 of 11

Changing size of excel sheet

  1. #1
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    196

    Changing size of excel sheet

    Is it possible to make a worksheet smaller. What I want to do is to be able to tab from, a1 to b1 to c1 to d1 etc up to g1 and then if I tab again it goes to a2. Is this possible? Is there any way of making it skip the a coloumn when tabbing even if it has data in it?


    Many thanks

    Jack
    Last edited by VBA Noob; 01-01-2008 at 12:44 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Does this help

    Select Range A1 to G2 and then press the tab key

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    About the nearest would be to hide all the other Columns. Select Column H, then select all the other Columns to the right by clicking Ctrl & the Right arrow. Then from the Format menu select Columns>-Hide.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    01-01-2008
    Posts
    1

    Set a scroll area

    Hi,

    Select the sheet you want to restrict, press Alt-F11 and bring up the properties for the sheet you want to restict. Enter a scroll area for the area you want to allow access to and save. The user then can't access cells outside the range you limit the scroll area to, so if you add formatting to the area outside the scroll area, you can make it look like the sheet is small (in effect it is but you have the benefit of being able to use the area outside the scroll area to put formulas etc. to service the active sheet area (I think this is in line with best practice too).

    Stiles.
    Let Excel do what it does best. Use VB for the rest.

  5. #5
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    196
    When i do alt f11 it brings up the vba page. Is this right? How do i then set a scroll area? If this is not right how do i set a scroll area?

  6. #6

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I don't think that the scroll area settings are retained when the workbok is closed, even after saving. In which case the scroll area would need to be set in the Workbook_Open event. If macros aren't enabled by the user, then the settings won't work.
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    196
    I copied the code into sheet 1 of the vba script of anexcel file and it did not seem to change the scroll area. Could you go step by step through what I have to do? Did it work when you tried it?

  9. #9
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Place in ThisWorkbook module

    VBA Noob

  10. #10
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    196
    Many thanks for everyones help. Two final questions on this. What do i have to add if i want a different scroll area on sheet2 and does anyone know any good books to get to learn basic and intermediate vba for excel2003? Many thanks jack
    Last edited by jhelliar; 01-03-2008 at 01:49 PM.

  11. #11
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    Please Login or Register  to view this content.
    See link about books. Viewing threads is also a good one to learn.

    http://www.excelforum.com/showthread.php?t=628180

    Also good link below

    VBA Noob

+ 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