+ Reply to Thread
Results 1 to 2 of 2

Pasting An Array Based On Headers

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    49

    Pasting An Array Based On Headers

    Hi, I'm trying to get VBA to print a column array based on a given header. The data is an xml file and there are 9 columns I am interested in copying from one sheet to a table in another sheet.

    The data are odds across different sports, but I am only interested in Football odds. I have included the headers that I am interested in vArr:

    Please Login or Register  to view this content.
    I am not sure what to do from here. I need to print the data in the columns from each of those headers defined in vArr in a number format into a table in sheet "Footy Odds", in cells B:K.

    Help please!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Pasting An Array Based On Headers

    Do you mean you want to find each column listed in the array on 'Data' and then copy them to 'Footy Odds'?
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

+ 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] Copy pasting columns based on headers
    By krash297 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2013, 02:13 PM
  2. [SOLVED] Delete entire Columns based on different Headers (Array)
    By WITJ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2013, 02:46 PM
  3. Replies: 2
    Last Post: 05-09-2012, 01:30 PM
  4. looping through headers and pasting information
    By omgeokid in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-31-2011, 04:18 PM
  5. Macro for comparing headers and copy/pasting respective columns
    By Sarushka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2009, 08:48 AM

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