Welcome to MSDN Blogs Sign in | Join | Help

Sort Sections powertoy

How could we have guessed that people had so many sections that they would want to organize them with just a click of a button? With that being said I finally finished up my sort sections powertoy. Pretty much I took the same code for the sort pages and changed it to work for sections, it was pretty easy. I had a harder time with Visual Studio & getting my setup project to work correctly (oh and the icon that was a pain too).

Before

After

 

Steps:

  1. Make sure you have OneNote 2007 Installed & the Microsoft .Net Framework 2.0
  2. Download the file from here: OneNote2007SortSections.zip
  3. Install
  4. Close and restart OneNote
  5. Click on the new button you have:

 

Now you are all set!

CAUTION: I didn't do any real testing other than a quick sanity tests, buyer beware! Oh and if you try it with a blank notebook you will just get a bunch of errors.

If you have problems/questions please let me know, otherwise I hope this helps you all out.

Published Saturday, March 03, 2007 12:05 AM by descapa

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Sort Sections powertoy

Thank you very much for this Powertoy, Daniel. It's just what we were looking for. Works very well on our Notebooks.

Saturday, March 03, 2007 4:49 AM by John Waller

# re: Sort Sections powertoy

Any chance of you posting the code for this and the sort pages powertoy ?

Saturday, March 03, 2007 7:03 AM by James Bolt

# re: Sort Sections powertoy

Hi, nice powertoy. I've experienced a little problem though. Section groups are ignored and all the sections in those groups get moved to the highest level.

Now where's my backup... :-)

Sunday, March 04, 2007 11:27 AM by Marc Vangrieken

# re: Sort Sections powertoy

James - I need to release it soon, please give me a week or so and I will post it all.

Marc - You can always find backups by choosing File-->Open Backup but I would recommend that you just move the sections back into the section group.  Like I said I didn't do much testing with this and I think I know what the problem is.  I will try and address it in the near future, but my time is short right now : )  

Again my apologies

Monday, March 05, 2007 4:46 AM by descapa

# re: Sort Sections powertoy

Daniel, no problem at all... I restored the section groups by hand this morning.

Monday, March 05, 2007 5:17 AM by Marc Vangrieken

# re: Sort Sections powertoy

Is there a sort pages power toy available?

Wednesday, March 14, 2007 1:51 PM by Tony Cerniglia

# re: Sort Sections powertoy

Tony - Sort pages can be found here:

http://blogs.msdn.com/descapa/archive/2007/02/17/sort-pages-powertoy.aspx

Hope this helps!

Wednesday, March 14, 2007 2:08 PM by descapa

# re: Sort Sections powertoy

Descapa,

Is there any way you can release the source code for this?  I'm working on creating my own powertoy and am having trouble installing it.  I would greatly appreciate it if I could look at your code to see how it is installed.  Thanks!

Friday, June 01, 2007 4:00 PM by Jamey Brumsey

# re: Sort Sections powertoy

Descapa,

I have tried to install both program for sorting pages and sections in onenote, but did not work for either of them. I have the sort buttons for both of them, but when i click on them, they did not work.

What did i do wrong?

I would appreciate if you can help me with this issue.

My email is kchhea@tpg.com.au

Thanks again.

Wednesday, June 13, 2007 7:51 PM by Khouth Chhea

# re: Sort Sections powertoy

Khouth - Are you using Vista?  Do you have UAC/LUA disabled?  Regardless please uninstall the tools and reinstall them and choose to install for "all users", this has helped many users with this problem.  Good luck!

Saturday, June 16, 2007 5:53 AM by descapa

# re: Sort Sections powertoy

Tried to install for All users and Just me, but in both cases the result was an error message:

"Could not UpdateHierachy" (misspelled Hierarchy!) "from OneNote. Error Code: The remote procedure call failed. (Exception from HRESULT:0x800706BE)

Monday, July 09, 2007 4:53 AM by Pavel Calda

# re: Sort Sections powertoy

Were you doing this on a password protected section?  Any other details?  

That error code is not one that is generated by OneNote so it must be a COM error.

Tuesday, July 10, 2007 2:42 PM by descapa

# re: Sort Sections powertoy

After running installation, which seems to be successful, there is not any button to sort the sections. Also, there is nothing listed in the add-in list.

Wednesday, July 18, 2007 5:15 PM by Hector C.

# re: Sort Sections powertoy

I loaded sort pages successfully but sort sections isn't working. The icon doesn't show up after following the instructions.

Saturday, August 04, 2007 2:01 PM by Michael Morad-McCoy

# Summer OneNote 2007 news round-up

It's getting hard to keep blogging about OneNote in detail now that I am no longer on the team, but I

Monday, August 13, 2007 1:46 AM by Chris Pratley's OneNote Blog

# Sort Sections and Sort Pages powertoy

Hi, I was very interested in what seemed to be an ideal extension.  I have installed both the Powertoys, but the 2 icons are greyed out and do not do the sorting when clicked.  Any ideas, tried 4 re-installations but no joy. Mike

Tuesday, December 18, 2007 4:50 PM by Mike Staveley

# re: Sort Sections powertoy

Seems that you can't have the page and sections sorters installed at the same time.  I installed the sections one first and worked fine.  When I tried the pages, it just does not show up in my plug-in list.  A co-worker did the same in the opposite order.  He got the same results.

I'm running Vista with UAC disabled, installed for 'all users'.  

Anyone else get both of them to work at the same time?

Friday, January 18, 2008 7:49 AM by Chad Gronbach

# OneNote Powertoys from the PM team, and a one question survey about them

A few astute readers pointed out I (intentionally) missed a few addins the OneNote team finished last

Friday, January 18, 2008 10:26 AM by OneNote Testing

# re: Sort Sections powertoy

Is it possible to sort notebooks with 1,2,3 rather than 1, 10, 11 ?

Monday, January 28, 2008 6:01 PM by Pete

# OneNote PowerToys

If you don't know I am a HUGE OneNote fan and have converted countless people from using Notepad

Sunday, March 30, 2008 6:41 PM by The Daily Ramblings of an SMS Engineer

# re: Sort Sections powertoy

Thanks! This is invaluable and saved me a lot of dragging and dropping!

Sunday, December 14, 2008 6:21 PM by William Bartholomew

# re: Sort Sections powertoy - Help I've fallen and I can't get up.

Been using it for months...however just clicked 'sort by sections' and it did something it had never done before. Basically I put sections under the "section organizers?" (my app no longer runs...so I can't see what they are called, and I can't remember the proper name)

Anyway... I've run the sort feature before, with no problems.  But THIS time... it took the sections out of the all of the 'organizers" and put them in the root.. AND... It no longer runs... It comes up, but stays in the 'not responding' state...for an hour at least.  

Any ideas on how to not lose my stuff...other than restoring from 1 week old backup... would be appreciated.

Tuesday, December 16, 2008 11:54 AM by Mags Ingval

# re: Sort Sections powertoy - Problem moving sections from lower section groups

Daniel,

GREAT tool, I think this is one the best I've found so far.  I have found that if you have too many layers of "section groups" the tool will sometimes sort as expected, other wise it places them in the top level of the notebook.  So I'm not sure if this a OneNote problem or a problem with the sections sort powertoy.

Keep up the good work.

Kevin Sholder

Wednesday, February 18, 2009 6:10 PM by Kevin L. Sholder

# re: Sort Sections powertoy

be careful, if you have groups of sections, you will lose them and pages will move to other sections ! This mixes pages in the sections !

regrettable

Sunday, March 08, 2009 8:45 AM by OnenoteR

# re: Sort Sections powertoy

Can anyone give me advice or instruction on how to alphabetize long lists on a page?

Thursday, January 07, 2010 3:23 AM by david bray

# re: Sort Sections powertoy

Hey--a point of caution about this...I have sections and a section group as part of a bigger section group...this yanks all of my sections from the sub-section group and sorted them all together with the sections of the primary section group.  It was a mess...good tool, but be aware of this.

Sunday, January 10, 2010 8:16 PM by Tominator

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker