views:

640

answers:

1

I love using OneNote, however I want more control over the locations of my notes and how notes are generated. I'm very versed in VBA and ok with Python (and those are the only languages I can code with on my machine) however I haven't found a decent way to interact with OneNote through code. I'm using OneNote 2003 which doesn't look like it has an xml export like 2007 does. Has anyone figured out an easy way to be able to read and write OneNote files with Python or VBA?

+2  A: 

OneNote 2007 has more options, but OneNote 2003 only supports the CSimpleImporterClass API for importing data programmatically into OneNote. CSimpleImporterClass will let you bring in images, ink, and HTML into OneNote using VB.

Reading OneNote 2003 files might be a little harder. I don't know of any resources to make it easy to ready OneNote 2003 files with Python or VBA.

Naaff