|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Outlook macro for small caps
I'm pretty new to VB but must create a macro for outlook that will enable me to search for a word and then replace the first letter in the word with a small cap (that is, convert a lower case 'e' to a small cap 'e'), throughout the body.
Any ideas where I might get some help with creating this macro? |
|
#2
|
|||
|
|||
|
I recommend u a nice site about introducing the Outlook with vba:http://www.slipstick.com/dev/vb.htm
|
|
#3
|
||||
|
||||
|
That would have to be a fairly complicated macro. You would want to accept a search string, and use that search string in the instr() function to determine where it is in the body. Then use the trim() function nested in the formatstr() function to remove the first letter and convert it to the format you want. Then concatenate it all back together.
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Outlook macro for small caps |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|