+ Reply to Thread
Results 1 to 4 of 4

adjust for every 2nd column

  1. #1
    Registered User
    Join Date
    10-31-2003
    Posts
    10

    adjust for every 2nd column

    hey guys, is there a way i can adjust this for ever second column starting at Coumn D and ending at column IX instead of entering all of the ranges manually?

    Please Login or Register  to view this content.
    Last edited by d0wnt0wn; 04-25-2020 at 02:59 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: adjust for every 2nd column

    Administrative Note:


    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-31-2003
    Posts
    10

    Re: adjust for every 2nd column

    anyone have an idea on this?

  4. #4
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,410

    Re: adjust for every 2nd column

    Give this Change event code a try...
    Please Login or Register  to view this content.
    If you are wondering about the line of code I highlighted in blue above, see my mini-blog article here...

    http://www.excelfox.com/forum/showth...ead-this-first
    Last edited by Rick Rothstein; 04-25-2020 at 06:56 PM.

+ 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. adjust column width based on empty cell within same column
    By vascobmcastro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-23-2020, 01:27 PM
  2. Auto-adjust # of rows in a column that have a formula based on adjacent column data?
    By Norcal1 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 05-31-2018, 02:03 PM
  3. [SOLVED] VBA to Adjust Last Entry in Column to Match Expected Column Total
    By phelbin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2016, 04:54 PM
  4. Finding largest number in a column and adjust column width to fit
    By rob47uk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-01-2014, 07:12 PM
  5. [SOLVED] Auto Adjust Stacked Column Need to Adjust Legend
    By tbren in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-29-2013, 01:56 PM
  6. [SOLVED] Automatically adjust column width to longest value in column
    By Grimace in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2013, 08:18 PM
  7. Adjust percent in one column so based on value of another column
    By doug0147 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-14-2011, 12:04 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