Treeview - XML editor in VBA

A

Alex St-Pierre

Hi!
I would like to create a program in a VBA UserForm that allow user to create
a structured Word document. Something like a “treeview†where you can add
node where you need it. At each node, there’s a text that can have some
formatting (italic, bold, etc.) according to a Rich text editor. It's like an
XML editor.

I would like to edit the text in an excel userform (with treeview). Is it
better to open Word 2007 and put the text in Word, then, save the XML
structure in Excel (as a text)?

Like <P>Section #1<\P><Level1>Section #1<\Level1><Level2>Paragraph
#1<\Level2><Level2>Paragraph #2<\Level2><Level3>SubParagraph #1 with
<I>italic<\I> text<\Level3><Level1>Section #2<\Level1><P>Section #1<\P>. Does
anyone know how to work with treeview and XML?

I don’t know if there’s a program that already exists (VBA or not) that
allow the edition of a xml file and the switch between 2 views ("treeview"
and the "Word document view").
Thank you!
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top