Results 1 to 3 of 3

Thread: Set fixed no. of columns in Excel

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    10

    Set fixed no. of columns in Excel

    When I open my Excel at one PC, there are 9 columns within the sheet (A to I). at another PC, my sheet shows 8 columns (A to H). Thus, the alignment of my report is messed up. Is there a way to set a fixed number of columns in an Excel sheet?

  2. #2
    Frenzied Member DKenny's Avatar
    Join Date
    Sep 2005
    Location
    on the good ship oblivion..
    Posts
    1,171

    Re: Set fixed no. of columns in Excel

    No, it all depends on screen resolution. E.g. on my 30 inch flat panel I can see 28 rows (A to AB)
    Declan

    Don't forget to mark your Thread as resolved.
    Take a moment to rate posts that you think are helpful

  3. #3
    Frenzied Member
    Join Date
    May 2004
    Location
    Carlisle, PA
    Posts
    1,045

    Re: Set fixed no. of columns in Excel

    You can set the View Zoom % or hide columns or both. Does this help?
    Code:
    ActiveWindow.Zoom = 50  'View Zoom 50%
    Columns("J:IV").EntireColumn.Hidden = True
    Blessings in abundance,
    All the Best,
    & ENJOY!

    Art . . . . Carlisle, PA . . USA

Posting Permissions

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



Click Here to Expand Forum to Full Width