+ Reply to Thread
Results 1 to 6 of 6

Resizing multiple columns with multiple values

  1. #1
    Forum Contributor
    Join Date
    05-13-2019
    Location
    Halifax, Canada
    MS-Off Ver
    2016
    Posts
    176

    Resizing multiple columns with multiple values

    Hi friends,

    I have got this code for resizing the default column width.

    Please Login or Register  to view this content.
    Can I make it in a single line of code?

    Thank you
    Roshan Shakya

  2. #2
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: Resizing multiple columns with multiple values

    not sure if this is what you want, but this makes it a oneline (but multi command) code. note the use of : that seperates the commands.

    Please Login or Register  to view this content.

  3. #3
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Resizing multiple columns with multiple values

    Seeing as the columns have different widths, I don't believe you can. However, there is no need for "select/selection.":

    Please Login or Register  to view this content.
    Last edited by Arkadi; 07-11-2019 at 02:01 PM.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Resizing multiple columns with multiple values

    @dmcgov that's cheating! LOL
    You are right though... that's "one line"

  5. #5
    Forum Contributor
    Join Date
    05-13-2019
    Location
    Halifax, Canada
    MS-Off Ver
    2016
    Posts
    176

    Re: Resizing multiple columns with multiple values

    Thank you both of you, dmcgov and Arkadi.

  6. #6
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: Resizing multiple columns with multiple values

    Quote Originally Posted by Arkadi View Post
    @dmcgov that's cheating! LOL
    You are right though... that's "one line"
    yup, cheating is good if it works!

+ 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] Counting multiple columns with multiple mixed true/false values
    By Pr0 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-22-2019, 02:02 PM
  2. Retrieve values from multiple columns based on values in multiple columns.
    By webwyzard in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2018, 04:29 PM
  3. vlookup to retun multiple column values against multiple columns
    By Kencosgrove in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-07-2016, 07:47 AM
  4. Replies: 6
    Last Post: 08-19-2015, 07:46 PM
  5. split multiple semicolon separated values into new rows for multiple columns
    By bruno08102013 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 01-05-2014, 05:27 PM
  6. Return Multiple Values with multiple rows & multiple columns
    By sachin parab in forum Excel General
    Replies: 2
    Last Post: 11-05-2012, 10:21 AM
  7. Replies: 5
    Last Post: 04-21-2011, 05:22 PM

Tags for this Thread

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