MichaelRSnow
Active Member
- Joined
- Aug 3, 2010
- Messages
- 409
Hi
Does anyone know if VBA can read an XML text string and every time it hits a less than symbol "<" to moves it down a line (carriage return)
I know I can get a XML line by line converter via Notepad++, which is great but I'm trying to remove this step from a process when converting some data in the xml.
Pulling my hair out looking for a solution?
Thank you
for example
<Detail_Collection><Detail textbox4="No Change" textbox8="122559" /><Detail textbox4="No Change" textbox8="122560" />
would become
<Detail_Collection>
<Detail textbox4="No Change" textbox8="122559" />
<Detail textbox4="No Change" textbox8="122560" />
Does anyone know if VBA can read an XML text string and every time it hits a less than symbol "<" to moves it down a line (carriage return)
I know I can get a XML line by line converter via Notepad++, which is great but I'm trying to remove this step from a process when converting some data in the xml.
Pulling my hair out looking for a solution?
Thank you
for example
<Detail_Collection><Detail textbox4="No Change" textbox8="122559" /><Detail textbox4="No Change" textbox8="122560" />
would become
<Detail_Collection>
<Detail textbox4="No Change" textbox8="122559" />
<Detail textbox4="No Change" textbox8="122560" />