A Calendar/Planner powertoy for OneNote!

    I was reading the newsgroups again the other night and “SubSeaGuy” made this post:

    “I want to create a custom calendar.  Rather than typing in the date on each page of which there would be 365, is there a way to import the page name.  The example would be to create the dates (day, dd-mon-yyyy) in say excel, and then import that data as page names.”

    Time for a new Powertoy! I’ve been itching to write another (where does the time go?), and this looked like a great reason. I started with my text importer, stripped out the stuff I did not need and added in a routine to account for the dates to use as page titles. Here’s what it looks like on a Windows XP computer:


    It was pretty simple. It let you pick a start date and a number of days to create. For instance, it looks like SubSeaGuy would want to start on January 1, 2009 and go for 365 days. You can control the date format the page title will get as well. A long format looks like this:

    Monday, October 06, 2008

    And the short format would be


    These settings can be changed in the Windows Control Panel \ Regional Settings application if you want.

    I added the agenda settings after the first iteration. More on that process later. For now, just select whether you want an agenda view, the start and stop times for it and the time increment.

    After making these choices, choose the notebook and section where you want the pages created and press “Make Calendar.” Since the pages are blank, it runs pretty quick. On my trusty HP, it took 18 seconds to make a year’s worth of pages. Not too shabby, I think.

    I liked this application for a couple of reasons. One, it let me reuse some of my code, so it was pretty easy to write :). Two, it spawned some great ideas for features and test cases. For instance, I did not know whether to let you choose how many days worth of pages to create, or use two date pickers to let you set a start and end date. I decided on the simple number of days since it is a little easier to test, and has a little less code to write.

    I hope you get some use out of this. I can see it being used to save a little time here and there.

    And there is no setup for this. Just copy the file (link below), unzip it and rename it to .EXE and start it. Remember, you will need the .NET framework and OneNote must have the .NET programmability component installed. To check it, look in Control Panel | Programs (or Add/Remove Programs), change the Office install, and look under the OneNote tree to see that the component is installed:


    You can get the source code here: OneNote Calendar Source Code

    Update 8-4-2010: new link for source code is http://johnguin.web.officelive.com/Documents/oncalendar.zip

    The link for the powertoy is below.

    Let me know what you think!

    Question, comments, concerns and criticisms always welcome,



Comments (74)

  1. mobileman (Alex) says:

    Thanks for posting the calendar.

    But somehow if I save the file and rename it, there is then .exe.ex

    Can you help me with this?

    Many thx in advance.

    Best rgds

  2. JohnGuin says:

    Windows is hiding the three letter extensions.  In a folder on Windows XP, click Tools Options and then the View tab.  In Vista, click the Organize button (near the top left) and select Layout | Folder and View options.  Select the view tab again.

    There will be a checked box in the list which says "Hide three letter file extensions for known types."  Uncheck it and click OK.

    Now you will see the entire file name.  

    Hope this helps,


  3. mobileman (Alex) says:

    Hi it was a little bit tricky because I have a German XP and there the designation is different form the meaning but it worked.

    Many thanks.


  4. BrianL says:


    I downloaded and ran the exe but it did not show up in the Add-Ins section under Tools->Option->AddIns.  Is there something I am missing?


  5. John says:

    This is its own standalone application.  You can use it w/o running OneNote, and it will not show in the addins.


  6. BrianL says:

    Hi John,

    When I ran the renamed executable, the application window popped up for about two seconds before it disappeared.  I did not get the UI that you have pictured here. I have checked to ensure the programmability section in OneNote setup is correct.  I also have the latest .NET Framework installed.

    I tried to run it in XP Compatability mode as well as an administrator but not luck with either.

  7. Tom Hodgers says:

    Hi John,

    Many thanks for the Calendar Powertoy.

    Just one main nag, I can’t get it to install the calendar pages to other notebooks, it only installs to Unfiled Notes. Nothing drastic as it only takes a couple of seconds to move the pages to wherever I want in OneNote.

    Another thing that always nags me with a lot of software is that of sizing. This program is too short when using 800×600 screen (I’m getting on a bit now and my sight’s not as good as it used to be) and the make calendar button doesn’t show even when I expand the window to fullsize. I have to change the screen to 1024×768 to use the program.

    Thanks again for the handy toy.



  8. JohnGuin says:


    I patched the app to actually use sections – silly typo on my part.  Just use the same link as before.

    Brian, this app uses the 2.0 .NET framework.  I tried on Vista as well and it worked for me.  In the folder from which are running the app, an error log file will get created.  Can you email me that log file and I’ll take a look?


  9. Well, my "well tested" calendar/planner had an easy to fix but obvious problem – it always sent the calendar

  10. Hi,

    Have to say, this is a great idea!  I downloaded it and tried it out, but my problem is it created the calendar in a completely different notebook and section than I designated.

    I notice it also created an ‘error log’, but the log page was blank.

  11. JohnGuin says:

    Hello Elizabeth,

    Can you ensure that the notebook you selected is did not get changed by an accidental mouse click?  I cannot even guess at what may be going on otherwise (unless you used another powertoy to make or copy the notebooks around).

    Can you email me more details about what you have installed?  

    Lastly, the error log being blank just means the powertoy thinks it is doing everything right.

    Sorry for the problems,


  12. Sothis says:

    John, I also get an error log, but it’s a file, not a page:

    I copied  the .exe to my desktop

    Double-clicked to run (OneNote is also running)

    Program window opens

    OneNoteCalendarMaker_error_log.txt is created on my desktop just after launch

    Txt file is empty

    Powertoy works

    Hope this helps.

  13. xedden says:

    Great application, definitely what I have been looking for.  I was wondering though, could you change it so you could set how many lines to have the agenda spots?  I am using this on a tablet pc so I cant just hit enter, plus I write big.  Having a bout 4 spaces would be awesome.

    That was my easy request, my long term one would be to either make it so we could put in recurring events, or integrate it with Google calender.


  14. Tom Hodgers says:

    Hi John,

    New version still doesn’t work for me.

    Now always sends calendar to OneNote 2007 ToolKit, whatever notebook I choose.



  15. Sharon says:


    Love the PowerToy, but it seems to create the calendar in whatever section that OneNote was last opened to, rather than where I wanted it. I tried several times to be sure it wasn’t a random click on my part.

  16. Sharon says:

    Check that. I created a new section in a personal notebook called Calendar. I navigated to that section in OneNote, and then closed OneNote. I then went back to the Calendar PowerToy and selected my new calendar section. Once again, it created the pages in the same section of one of my work notebooks that it had before. So it is NOT a question of whichever section I had opened last, as I had thought.

    On the positive side, it was very easy to select all the calendar pages and manually put them where I wanted them.


  17. Sharon says:


    You can always use the little tool to make more space in OneNote. I might even prefer that, since it wouldn’t automatically create blank space in spots I wouldn’t be writing in.

    Just a thought.


  18. JohnGuin says:

    OK, here’s a patched version which puts the pages in the correct section.  For what its worth, it worked fine with my test notebook.  The key was having more than one notebook open – if you chose the second section from notebook 3, the pages were likely getting put in the second section of the last notebook you had open. Sigh – missed test case on my part.

    There is one ugly piece of UI to clean up here – the section ID is shown to the right of the name in the tree.  It’s harmless, ugly, and I need to clean it up.


  19. Hi John,

    Just tried the patched version, several times, with ON both open and closed.

    It worked perfectly.

  20. Richard Thomas says:

    Hello John,

    Great tool…thanks!  But the source code zip file seems to be empty.

  21. Tom Hodgers says:

    Hi John,

    Calendar for OneNote now working fine.



  22. JohnGuin says:

    OK, I fixed the UI ugliness and now hide the IDs for each section, cleaned up the UI a bit overall and added Xeden’s idea to create more than one blank line in each cell of the agenda.

    I’m also trying to figure out why the source file is blank…


  23. xedden says:

    Great, the extra lines are very helpful.

  24. The lined version works great.


  25. When I was creating the calendar page maker , I focused on the date picker control and the functionality

  26. Sean Valley says:

    Wow.  This is cool.  The only thing I would love to see is the ability to create a page for a recurring meeting.  Instead of a page per day, it would create a page for every Thursday, since that’s the day we have our big team meetin’ 🙂

  27. John says:


    Done.  I updated the powertoy and uploaded the new version.

    I can’t update the image or the source code until Oct 16, so bear with me until I can upload the changes.  It should be self explanatory, though.  

    I tested for English, Spanish and Hindi (although most of the UI is not localized).

    Thanks for the idea,


  28. Those of you who jumped on the calendar page maker the day I posted it quickly found a bug I had overlooked.

  29. RiteGuy says:

    Hi John,

    Very nice ON powertoy!  It worked exactly as you indicated.

    I didn’t read all the previous posts – just skimmed thru them.  Are there any plans to add a "step" feature that could produce pages days of the week more than one week apart?  In other words, this powertoy could provide another, I think very useful, feature to create blank agendas that occur on a regular basis, like on the 1st Thu of the month, every other Mon, the first Wed of every quarter, etc.  (Kind of like the recurring patterns defined in OutLook.)

    Another useful feature would be to allow associating a template with the pages.  For one of my meetings, I have an agenda template already created, but I have create each new meeting’s page manually.

    Anyway, I hope this helps.  I do like it!  Thanks for taking the time to make something like this!

  30. As I was working on the Calendar Page Make r powertoy for OneNote, I hit a problem at one point with

  31. Once I made my change to my calendar/planner addin to get the columns to size correctly , I needed to

  32. Chaos Syren says:

    I thought this was really great. I only had one problem. I don’t need such a detailed calendar. Just a monthly with room in the boxes to put a couple events and maybe a small note area. Could you possibly make the same kind of power tool to do that?

    Thanks in advance 🙂

  33. JohnGuin says:

    I’m not sure I understand what you are looking for.  How hard would it be to make a sample page and send it (or a screenshot)?


  34. Netnolo says:


    I tried to install Calendar planning for OneNote (2007). The exe file is there, gets installed fine. My notebooks appear fine in the notebook field. But nowhere can I see the "Create a calendar" button.

    Could you help me please?



  35. JohnGuin says:

    This powertoy does not have a button in OneNote – it runs from the start menu.


  36. Netnolo says:

    Hi John!

    Thanks for your quick answer.

    I did actually run it from the exe file contained in the zip download. Only after I went to see if there was any sign of it in One Note.

    Can it have anything to do with NET.Framework?

    I have just retried now, and I can clic on Create Calendar, but nothing happens.

    Hope it will eventually work, it looks great.


  37. Netnolo says:

    Yeeeeeeeeeeeees, it works.

    Thank you so much. I’ll be able to use it for my work.


  38. Graham says:

    So I unzipped the exe to programsoffice in Windows 7, run the exe and get a message:

    Unhandled exception occurred in your application. If you click Continue etc etc…

    any suggestions?


  39. Graham says:

    Got it working: unclicked Add Agenda, now it works with or without OneNote 2007, { 12.0.6415.1000 SP2 MSO (12.6425.1000)} open;

    Using Windows7 build 7100.

    Thanks John!

  40. Paul Goodman says:

    Looks great.  Is there a way you can end up with a calendar/diary that doesn’t have times in it, just one date per page and and an unlimited number of lines per page?  No start time or end time for the day?


  41. John says:

    Try unchecking the "Add Agenda" checkbox then creating the pages.  Select all the pages (click the top page then SHIFT+click the bottom page) and click Format | Rule Lines  | Narrow lines (or whatever you want).

    Does that work?

  42. Paul Goodman says:

    Perfect.  Thanks for the suggestion.  Is there a way I can make onenote default to that notebook when opening.  I know I can use a command line switch, just wondering if there is something simpler within the program.  Thanks again for the idea!

  43. JohnGuin says:

    The cmd line switch is the only way to open a particular notebook.  Otherwise it opens to the last opened notebook.

  44. Richard says:

    I have a date and time mentioned on my notes, this defaults to when I create the calendar, is there a way to have this date set to what the title is?

  45. John says:

    Not really sure what you mean – do you want the date/time listed below the title to be the page title?  Or do you want to change the text for the date/time under the title to be something else?

  46. Richard says:

    Sorry mate, poorly explained, my bad.

    The text I’m talking about is the page date and time which is below the title that your PowerToy creates, when I do the initial creation, that date/time is set to when it is done, therefore the page date doesn’t reflect the date for the entry (but the title does) and I have to change it manually.  I’d copy and paste a screen capture if I could :).

  47. John says:

    Now I understand.  No, the addin does not let you change that text – it shows the created time of the page.  You already found the workaround which is to manually change the time stamp.  It cannot be changed programmatically.


  48. Richard says:

    No worries, thanks anyway, 365 changes for my diary for this year, yay!  Works well mate, much appreciated.

  49. Padam says:

    This is just great, I have been looking for something like this for a long time. Is it possible to set the date format to date and day togather e.g. Thusrsday, 01 July 2010

  50. JohnGuin says:

    Yes, Padam, there is.  In Control Panel | Regional Settings, click the Customize button on th Regional Options tab.  then go to the Date options.  At the bottom is the control to change the "Long Date Format" – change it to be

    dddd, dd MMMM yyyy

    Save changes and restart the Calendar Planner addin.  It will use the new format you specified.

    Let me know how this works for you!

  51. Komal says:

    Hi. I cannot get it to work. I wonder what is happening. I tried it first with 2010 then with 2007, but nothing happened. The sourcecode link doesnt work either.

    Please advice


  52. John says:

    I updated the link for the source code – thanks.

    What version of OneNote do you have?  Can you copy the EXE file to your desktop, run it and then look at the log file (OneNoteCalendarMaker_error_log.txt) to see what errors are logged?

    Sorry for the problems.

  53. Mani says:

    Have been looking for this functionality…worked just fine for me with ON 2007.

    Thanks a lot for doing this!

  54. Yong says:

    I just downloaded it and it worked flawlessly on OneNote 2007.  Thanks!

    I wonder if it'd be possible to have OneNote automatically jump to today's page when I open the Notebook?  That way, the user don't have to roll down many pages to get to the current date.  

  55. Yong says:

    Another favor I'd like ask.  In addition to the "Add Agenda", do you think you could include another option, "Add Tasks"?  I'd like to generate a daily list of tasks, rather than the hourly list of agendas.  Would you consider that?

    Also, it would be nice we can shorten the week day in the title to first three letters, "Mon", "Tue", etc.  The title would look more tidy.  Thanks.

  56. JCastro says:

    Hi John,

    It seems to be a gorgeus powertoy, unfortunantely I can't make it work. I'm from Brazil. Would it be a language problem?

    I use English Windows7 Home Premium 64bit; Portuguese (Pt-BR) Office 2010 Home and Student; dates in Portuguese (Brazil) standard: [dd/MM/yyyy] and [dddd, d' de 'MMMM` de `yyyy].

    When I click "Make Calendar", the bar appears at the left bottom corner, but the green sign doesn't run (it is supposed to be there, isn't it?). The onenote does open, but no calendar appears. No error log is created. The problem persists even if I change the date to US standard.

    Thank you, sorry about my English.

  57. John says:

    You should get the updated version for OneNote 2010 at blogs.msdn.com/…/calendar-planner-addin-updated.aspx

    This version will only work with sections in 2007 format.

  58. John Boal says:

    I am trying this code under VS2010, using OneNote 2010 but it doesn't seem to be do anything when i click the button… any ideas? I'd really like to use this on 2010…

  59. Steven says:

    Hi John,

    I have a short question. Is it possible to use templetes? I always get empty pages…   it would be very helpful if this works. Thanks.

  60. JohnGuin says:

    Apply the template first, then use this toy.  I just add the data the the page.

  61. Greg says:

    When I click the "Make Calendar" button, a new blank button shows up under the window for identifying the notebook for inserting the calendar and a blank page is created. That's it. Is this powertoy incompatible with my OS (XP service pack 3)?

  62. JohnGuin says:

    Greg – yes, it works with XP.  Can you look at the log file that gets created in the same folder you used to launch the executable?  What are the contents of that file?

  63. Greg says:

    Thanks for answering, John. The log file (OneNoteCalendarMaker_error_log.txt) is blank.

  64. JohnGuin says:

    What version of OneNote do you have?  And if you click File | Help, do you see the phrase "Click to Run" anywhere over on the right?

  65. Greg says:


    I have OneNote 2010 version 14.0.6112.5000 (32-bit).

    In File | Help in OneNote, "Click to Run" does not appear anywhere.

  66. JohnGuin says:

    The only other thing I can think is that the section or notebook is in OneNote 2007 format.  Is that the case?  You can right click the notebook and select Properties to check.

    This is a pretty simply utility and I'm pretty stumped as to why it does not work.  Are you an administrator on the machine?

  67. Bryan says:

    PLEASE, can we adapt this power-toy to create a calendar by MONTH, not just by day?!?

  68. john says:

    I am trying to use this power-toy and am getting the same issue as Greg above

    OneNote 2010

    When I click the "Make Calendar" button, a new blank button shows up

    windows 7

    Notebook is in 2010 format

    no entries in the log file

  69. John says:

    Can you try right clicking the file and selecting "Run as administrator?"  Also, a detect/repair reinstall of OneNote might fix a COM registration error.

    Just shooting in the dark since the log file is not logging any errors.  Sorry for the problems.

  70. Jim says:

    Trying to get this to work with office 365 but all it does is create an untitled page in the section I wanted the calendars.  I had it perfectly with 2010 but now it has stopped.  Can you help me?  As far as I know I have the prog.net installed correctly..

  71. JohnGuin says:

    This tool only works with OneNote 2010…

  72. JohnGuin says:

    And I should mention Onetastic, which works with OneNote 2013 and has a calendar macro to make this style of page: http://www.omeratay.com/onetastic


    Give it a shot!

  73. Jim says:

    Argh – I've been working with your calendar for two years now…