+ Reply to Thread
Results 1 to 2 of 2

How to increase (autofit) cell width automatically in all sheets at a time

  1. #1
    Forum Contributor
    Join Date
    01-06-2017
    Location
    india
    MS-Off Ver
    2010
    Posts
    118

    How to increase (autofit) cell width automatically in all sheets at a time

    Hi,


    I have 50 excel files in a folder, each file contains approx 15 sheets. In each sheet, few cells (random cells) showing "######", instead of full cell content. I don't go each sheet to increase particular cell widths. Coz, it would become tedious. Is there any way(shortcut) to increase certain cells width(which are containing #####) in a workbook automatically. (or) Any macro for all workbooks in a folder.


    thank you in advance.


    regards
    ajaypal

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: How to increase (autofit) cell width automatically in all sheets at a time

    Try something like... (Run the Demo sub, it will call AutoFitCols sub)
    Please Login or Register  to view this content.
    NOTE: I assumed all your files are flat table structure with no merged cells and saved as .xlsx file.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] AutoFit Height ONLY not width
    By DHFE in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-30-2015, 11:02 AM
  2. [SOLVED] Autofit Column Width
    By plans in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-06-2015, 01:45 PM
  3. Merged Cells - Autofit Increase or Decrease Height when Cell is Edited
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2013, 03:24 PM
  4. [SOLVED] autofit multiple columns and a little more width
    By Hein in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-09-2013, 04:25 PM
  5. Autofit if characters in cell exceed column width
    By munkayboi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2007, 03:45 PM
  6. autofit cells in column width
    By Boethius1 in forum Excel General
    Replies: 5
    Last Post: 04-11-2006, 09:55 PM
  7. [SOLVED] Increase width of cell names in formula bar
    By Dan Reichel in forum Excel General
    Replies: 1
    Last Post: 05-31-2005, 04:05 PM

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