You should read the post or check out the link that was provided? You use it
as a regular function, to quote the post you replied to.
"to use:
If A1 thru A5 contain:
Cher
Victor Laszo
William Randolph Hearst
William R Hearst
In B1 put:
=initalizer(A1)
and copy down
to see:
Cher
Victor Laszo
William Randolph Hearst
William R. Hearst"
--
Regards,
Peo Sjoblom
"Susan" wrote in message
...
I pasted the UDF into a module in VBE, but it hasn't done anything to the
worksheet. Is there some way I have to run it?
"Gary''s Student" wrote:
UDFs 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 UDF will be saved with it.
To remove the UDF:
1. bring up the VBE window as above
2. clear the code out
3. close the VBE window
To learn more about UDFs in general, see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
to use:
If A1 thru A5 contain:
Cher
Victor Laszo
William Randolph Hearst
William R Hearst
In B1 put:
=initalizer(A1)
and copy down
to see:
Cher
Victor Laszo
William Randolph Hearst
William R. Hearst
If the name is one or two words, no change is made.
Only if the middle name is one character long is the period added
--
Gary''s Student - gsnu200721