Thank you so much! Does it work in 2012? When I input the code into the script editor it doesn't run and says "# Error: SyntaxError: invalid syntax # // Result: scriptEditorPanel1Window|TearOffPane|scriptEditorP anel1|formLayout38|formLayout40|paneLayout1|formLa yout41|tabLayout2|formLayout43|cmdScrollFieldExecu ter2 // " Is it something that I am doing wrong perhaps? Thank you for all the help! Tom