Results 1 to 4 of 4
  1. #1
    3 Star Lounger
    Join Date
    Apr 2001
    Posts
    304
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Formatting a form to look less like Excel (Excel 2003)

    I know I could have put a better Subject line, but wasn't sure what I was trying to say. Sorry.

    When you are creating templates or forms in Excel, is there any easy way to make the form look more like a form and less like an Excel Spreadsheet. For example, if you take a look at any of Excels templates that are loaded locally upon installing, the gridllines are gone, and unnecessary cells have been colored to look more like a background, the column and row headers are gone. I know how to do these things individually, but wasn't sure if they would be saved with the worksheet. Also, if I wanted to, say, change all unnecessary cells to black (with black borders) so that they all like a background, I know how to highlight cells then apply shading and borders. But on Excel's sample templates, it looks like there is a finite amount that someone can scroll down and to the right (not the normal column IV and row 65,000+) Would hate to have to select all that first, then apply borders and shading. Is there a way to truncate/end the columns and rows in a spreadsheet?

    Hope that didn't sound too rambling. - Sat.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Formatting a form to look less like Excel (Excel 2003)

    You can use VBA to set the scrollable area of a worksheet:

    Worksheets("MySheet").ScrollArea = "A1:K50"

    Note: this property is not saved, you have to set it each time the workbook is opened, for example in the Workbook_Open event procedure.

    Or you can hide all rows and columns past the limit you want the user to see.

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Formatting a form to look less like Excel (Excel 2003)

    Selecting all the extra columns/rows is easier than you think.

    Say you want to hide (or shade) all columns from K to the end
    1. Click on the Column title for K (This selects the Column)
    2. Press Ctrl-Shift-Right Arrow (this selects the rest of the columns)

    You can do the same with rows using the Ctrl-Shift-Down Arrow instead.

    Hiding the columns and rows doesn't require code to run each time the document is opened and different views can be saved for quick changes later on.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  4. #4
    3 Star Lounger
    Join Date
    Apr 2001
    Posts
    304
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Formatting a form to look less like Excel (Excel 2003)

    Thanks Andrew for the tip. I think I learned that a long time ago, but had forgotten it. Was manually clicking and dragging, god forbid.

    Sat.

Posting Permissions

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