The best way to do these sort of things is to use the macro recorder and actually record your steps. Then you can modify the code to suit your needs. The macro recorder is found under Tools | Macro | Record New Macro. _________________ Give a man a fish, feed him for a day. Teach a man to fish, feed him for life!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the
Excel is a registered trademark of the Microsoft Corporation. MrExcel is a registered trademark of Tickling Keys, Inc.