+ Reply to Thread
Results 1 to 2 of 2

Automatically adjust column widths

  1. #1
    Registered User
    Join Date
    07-27-2006
    Posts
    3

    Automatically adjust column widths

    is there a way to write code to automatically adjust column widths so that when a change is made to the sheet, the column widths will automatically adjust? I have a pivot table that every time i make a change, I have to fix the column widths. Any thoughts?

  2. #2
    Stefi
    Guest

    RE: Automatically adjust column widths

    Try this statement:

    Cells.EntireColumn.AutoFit
    Regards,
    Stefi


    „stu_padassol” ezt *rta:

    >
    > is there a way to write code to automatically adjust column widths so
    > that when a change is made to the sheet, the column widths will
    > automatically adjust? I have a pivot table that every time i make a
    > change, I have to fix the column widths. Any thoughts?
    >
    >
    > --
    > stu_padassol
    > ------------------------------------------------------------------------
    > stu_padassol's Profile: http://www.excelforum.com/member.php...o&userid=36840
    > View this thread: http://www.excelforum.com/showthread...hreadid=565469
    >
    >


+ 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