Hi guys:
Thanks for the comeback. I thought that somebody had worked with the SP1
already, using XML to transfer stuff from Word to OneNote.
The Excel programmers are way ahead of the Word programmers from what I can
see... the other day I did come across a MS Excel website that did publish
the XML code link, (
http://www.mrexcel.com/tip078.shtml), but the problem
they had is the GUID. Here's an except from their website:
----------------------------------------------------
"The Gotcha
In order to update an existing page, you must know the Globally Unique
Identifier (GUID) for that page. There does not appear to be a way to find
the GUID for an existing page in OneNote. This means that you can only
update or delete items on an existing page if you programmatically created
the page and have stored the GUID used to create that page in your workbook.
The example below uses an out-of-the way place on the worksheet to save the
GUID for the page, the data table and the chart.
GUIDs
Every new page in OneNote needs a GUID. Every new object placed on a page
needs a GUID. While it is easy to generate GUIDs from VB.Net, finding a way
to generate GUID's from VBA has been elusive. All 200 million Office VBA
users need to give a tip of the cap to Michael Kaplan of Trigeminal
Software. Michael seems to be the only guy in the world to break the code on
how to generate a GUID from VBA. He has graciously shared this code with the
world. Check out the complete code at his website. With Michael's
permission, I've copied just the functions needed to generate a new GUID in
VBA here. Insert a module in your project and include the following code in
that module.
------------------------------------------------------
You see, the code is almost perfect- the only problem is in getting the GUID
of the last page of, say, a patient chart so as to pile on data (scans,
text, other graphics) to that particular point in the patient's chart
instead of the tedious task of cutting/pasting. I just ordered MS Office
2003, so I guess I have to work on it. When I get it solved, I'll post here
or simply repost an update. If anyone else beats me to it- please do the
same!!! This would be a really neat, powerful, item to have.
Regards,
Al