Use the format function as in,
Format("f123456789","@.@@@.@@@.@@@")

Let me know if this was what you ere looking for....

Ajit

On Wed, Oct 1, 2008 at 3:53 AM, <[EMAIL PROTECTED]> wrote:

>
> I need a macro that will add periods at specific locations in a cell
> of text in Excel. My example is an item number f123456789 that I need
> to look like f.123.456.789. Any suggestions? I have code written but
> it is bulky and I know there is an easier way. Thanks for any and all
> help.
>
> >
>


-- 
Thank You,

Ajit Navre

--~--~---------~--~----~------------~-------~--~----~
Visit the blog to download Excel tutorials at 
http://www.excel-macros.blogspot.com

To post to this group, send email to excel-macros@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/excel-macros?hl=en

Visit & Join Our Orkut Community at 
http://www.orkut.com/Community.aspx?cmm=22913620

Visit the blog to download Excel tutorials at 
http://www.excel-macros.blogspot.com

To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com

To see the Daily Excel Tips, Go to:
http://exceldailytip.blogspot.com
-~----------~----~----~----~------~----~------~--~---

Reply via email to