Here is a routine that Clark Johnson created by reworking the Rotate View in paperspace LISP routine written by Swaraj Baral from the September 15 Tips and Tools Weekly newsletter.
I modified the program to shorten the code by using the getangle command for the rotation so the user can either pick an angle or enter the value. The primary change was to select the angle while still in paperspace so the rotation angle of the view is more intuitive and consistent.
I also added the function of selecting a viewport to rotate, capturing its locked status, unlocking it, rotating the view and restoring the original status.
Notes from Cadalyst Tip Patrol: Great routine. You can either enter the angle (assuming you know it) or you can manually pick the angle with two points.
Tested in AutoCAD 2009.