+ Reply to Thread
Results 1 to 4 of 4

VBA Vlookup Filldown/Autofill in Alternating Columns

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    Oregon, USA
    MS-Off Ver
    Excel 2007
    Posts
    53

    VBA Vlookup Filldown/Autofill in Alternating Columns

    SizeFillDownExample.xlsI am trying to write code to fill down a column with a vlookup formula for every other column beginning in column N and ending in column CN. (please see attachment for layout).

    Example: The lookup formula would be entered in columns N, P, R, ..., CN
    In the lookup formula, the column index number would need to increase by 1 in each column
    Column Index for column N = 18, Column Index for column P = 19, Column Index for column R = 20, etc...

    Here is the code I have so far.
    Attachment 224430
    Please Login or Register  to view this content.

    Any help is greatly appreciated. Let me know if I need to clarify anything.
    Last edited by msawyer; 03-29-2013 at 01:02 PM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA Vlookup Filldown/Autofill in Alternating Columns

    What's the point of supplying an example workbook that doesn't have your code, or a worksheet named "Winshuttle" or a named range called "MaterialData", or an example of the end result you're looking to achieve?

  3. #3
    Registered User
    Join Date
    11-09-2012
    Location
    Oregon, USA
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: VBA Vlookup Filldown/Autofill in Alternating Columns

    I have updated the example workbook.

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA Vlookup Filldown/Autofill in Alternating Columns

    Please Login or Register  to view this content.

+ 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