Upon running this code, I get a runtime error 80042010. I opened OneNote 2013 manually and the old content of the page still shows. OneNote.UpdatePageContent strImportXML, DateTime.Now, xs2013, True Here is my code: (pageID is the ID of the page that I have successfully obtained) However, the page content was still not changed even after I run the VBA. The UpdatePageContent Method" section) and translated to VB. I copied the C# sample code in this page n-us/library/office/jj680120.aspx ("in I was trying to use UpdatePageContent method of OneNote application in Excel 2013 VBA to change the content of a OneNote 2013 page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |