Hi Divine!
You can store it in your Personal.xls file but first you have to
create it.
With any workbook open
Use:
Tools > Macro > Record new Macro
From the drop down Select "Personal Macro Workbook"
OK
Now record a few format cells instructions
Tools > Macro > Stop Recording.
You now have a Personal.xls file
Use Alt F11 to get to the Visual Basic Editor
Select the Personal workbook in the Project Explorer Window
You can then use Insert Module to create a new Module and put your new
function in that Module.
Save
The Personal.xls file is a hidden workbook that is opened each time
that you open Excel and is ideal for storing functions and subroutines
that only you use.
Sounds like you might be ready for John Walkenbach's Excel 2003 Power
Programming with VBA.
You might also look at:
Dave McRitchie:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.