+ Reply to Thread
Results 1 to 2 of 2

Trying to access Locals variables

  1. #1
    Registered User
    Join Date
    01-17-2012
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Trying to access Locals variables

    I'm parsing through an .xml file from my local C drive, and trying to split each of the HTML tags into columns in excel. I'm having trouble accessing one of variables. Refer to the attached picture.

    I tried using:
    objElements.Item(1).Attributes.Name
    objElements.Item(1).Attributes(0).Name

    any suggestions on the correct syntax to access this location?


    Capture.JPG

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Trying to access Locals variables


    Just try the Workbook.XmlImportXml method, to see first within VBA help …​

+ 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] Seeing a SQL select string in locals window
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2019, 11:00 AM
  2. [SOLVED] Where has my Locals window gone? (Excel 2010)
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2018, 10:16 AM
  3. [SOLVED] Can not access my global variables
    By capson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2015, 02:11 PM
  4. Range not appearing correctly in Locals
    By bishoposiris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2014, 03:25 PM
  5. 'Exporting' contents of Locals Window
    By mynci in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-27-2008, 05:15 AM
  6. Access system-environment variables
    By Perry in forum Excel General
    Replies: 3
    Last Post: 03-31-2006, 07:25 AM
  7. Code to access Controls via variables?
    By Kjell S. Johansen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2005, 05:05 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