If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#21
|
|||
|
|||
Need Period After Initials
This worked. Thanks so much.
"Gary''s Student" wrote: You need to use it like any other formula. In cell B1 enter: =initalizer(A1) and make sure a name is in A1 -- Gary''s Student - gsnu200721 "Susan" wrote: 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 |
#22
|
|||
|
|||
Need Period After Initials
When I put the formula in, any name that has a middle initial with Jr. after
it, drops the Jr. "Susan" wrote: This worked. Thanks so much. "Gary''s Student" wrote: You need to use it like any other formula. In cell B1 enter: =initalizer(A1) and make sure a name is in A1 -- Gary''s Student - gsnu200721 "Susan" wrote: 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 |
Thread Tools | |
Display Modes | |
|
|