+ Reply to Thread
Results 1 to 2 of 2

VBA - XML Appending Child Help

  1. #1
    Registered User
    Join Date
    02-14-2010
    Location
    Scotland
    MS-Off Ver
    MS Office 2013
    Posts
    35

    VBA - XML Appending Child Help

    Hi all,

    Any assistance in this matter would be very much appreciated. I have googled the subject to bits but can't seem to be able to get my head round appending children to existing elements.

    I currently have an XML file (See below) that has a list of engagement numbers.
    Please Login or Register  to view this content.
    A user populates a new "EngItem" on a user form and clicks update at which point the following code is run:-

    Please Login or Register  to view this content.
    I was hoping that this would update the <EngagementNumbers> element and append another <EngItem> as a child.

    Thanks for your help in advance.

    Stuart

  2. #2
    Registered User
    Join Date
    02-14-2010
    Location
    Scotland
    MS-Off Ver
    MS Office 2013
    Posts
    35

    Re: VBA - XML Appending Child Help

    I managed to get to the bottom of how to accomplish this. The following code allowed me to append an <EngItem> to the <EngagementNumbers> element:-

    Please Login or Register  to view this content.
    Hopefully someone else finds this useful.

+ 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. Controlling Child Window in IE
    By rlee12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2013, 09:33 PM
  2. Parent Child Relationship
    By Automation Guru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-02-2013, 04:48 AM
  3. Replies: 6
    Last Post: 12-03-2012, 05:41 PM
  4. Accessing Dim from child sub
    By bassima in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2011, 12:43 AM
  5. Master/Child between Subforms
    By pilotwings64 in forum Access Tables & Databases
    Replies: 2
    Last Post: 08-22-2010, 03:42 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