Results 1 to 1 of 1

Pull select column values from xml map to excel

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    102

    Pull select column values from xml map to excel

    I am just started to learn about the VBA and need some help to create a macro (VBA code) to insert certain columns into Excel 2013 from the XML map. The screenshot of the XML map is attached with the data values highlighted in red - those that need to be inserted as columns into Excel. Here are the columns that I need, wanted to type them for you so you cab copy and paste into the code. Make it a little bit easier for you.

    1. ns1:Feed > ns1:Product > ID
    2. ns1:Feed > ns1:Product > ns1:CategoryName
    3. ns1:Feed > ns1:Product > ns1:ReviewStatistics > ns1:AverageOverallRating
    4. ns1:Feed > ns1:Product > ns1:ReviewStatistics > ns1:TotalReviewCount
    5. ns1:Feed > ns1:Product > ns1:NativeReviewStatistics > ns1:TotalReviewCount

    My problem is that the data file is very large - 280 MB and when I drag the data values from the XML map to the Excel columns and refresh it, my Excel application takes a very, very long time to refresh. I am able to incert two data values (two columns) with waiting time about 10 min, but if I attempt to add a third column, the excel crashes. I will need to add Application.ScreenUpdating = False to the beginning of the macro and I already turned the calculations to manual.

    Any help would be greatly appreciated!
    Attached Images Attached Images
    Last edited by Neyme; 03-17-2016 at 10:29 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Pull Values in column based on column B and C values
    By bjnockle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-02-2013, 09:47 PM
  2. [SOLVED] Pull Values based on one column
    By bjnockle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-30-2013, 03:16 AM
  3. How to use IF to pull in values from another column
    By rcocalm in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-01-2013, 10:18 AM
  4. Match to columns in different sheets and pull the 3rd column values
    By Pats83 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-03-2013, 11:45 AM
  5. Replies: 4
    Last Post: 05-19-2013, 07:12 PM
  6. [SOLVED] How to pull values from a column, and list them in a cell
    By Naja in forum Excel General
    Replies: 11
    Last Post: 11-05-2012, 04:38 PM
  7. How can i pull a range of values in to a column based on a cell value
    By nickwh34 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-30-2012, 05:13 AM
  8. Function that will pull the unique values out of a column?
    By Rgaherty in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-13-2007, 09:06 AM

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