+ Reply to Thread
Results 1 to 6 of 6

Setting up row height and autofit column width with VBA

  1. #1
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119

    Setting up row height and autofit column width with VBA

    Hi Experts

    I have attached a sample spreadsheet with the code i have used to split based on a column, now is there any way i can set the row height to the split worksheets (15 rowheight) and autofit all columns through the new worksheets?

    Thanks heaps for your help
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Setting up row height and autofit column width with VBA

    Why isn't the code in your file?

  3. #3
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119

    Re: Setting up row height and autofit column width with VBA

    Sorry, i've added now.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119

    Re: Setting up row height and autofit column width with VBA

    || b u m p ||

  5. #5
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Setting up row height and autofit column width with VBA

    Why are there so many unnecessary spaces in the locations?

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119

    Re: Setting up row height and autofit column width with VBA

    Data was extracted from system with that many spaces, from the entry i believe.

    This code has worked perfect, thank you so much.

+ 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. Replies: 2
    Last Post: 07-30-2014, 11:13 AM
  3. [SOLVED] Setting Column width & Row height in excel 2003
    By prasadsn1976 in forum Excel General
    Replies: 1
    Last Post: 03-01-2011, 05:30 PM
  4. Setting column width and row height
    By meherts in forum Excel General
    Replies: 1
    Last Post: 07-16-2010, 11:05 AM
  5. Setting the Height and Width of an Image
    By NaNaBoo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2009, 01:36 PM
  6. Setting an Overall width/height limit
    By Cypris in forum Excel General
    Replies: 3
    Last Post: 10-21-2006, 09:28 AM
  7. [SOLVED] Autofit Row height or Column Width does not work
    By Gunjani in forum Excel General
    Replies: 2
    Last Post: 10-11-2005, 05: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