The code is called a macro. Macros are very easy to install and use:
1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window
If you save the workbook, the macro will be saved with it.
To remove the macro:
1. bring up the VBE window as above
2. clear the code out
3. close the VBE window
To use the macro from Excel:
1. ALT-F8
2. Select the macro
3. Touch RUN
To learn more about macros in general, see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Signature
Gary''s Student - gsnu2007h
> thanks for the reply but what do i do with it
>
[quoted text clipped - 42 lines]
> >>
> >> Karen.
ryguy7272 - 18 Apr 2008 22:12 GMT
This tutorial is quite nice because it has lots of graphics (a picture is
worth 1000 words).
http://www.anthony-vba.kefra.com/vba/vbabasic1.htm#Creating_Your_First_Macro
Regards,
Ryan---

Signature
RyGuy
> The code is called a macro. Macros are very easy to install and use:
>
[quoted text clipped - 67 lines]
> > >>
> > >> Karen.