Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Replace text in a cell with text in another cell

I would like to replace certain text in a cell with text in the adjacent
cell. For example, I have someone's first name in one cell and I have
a email address layout like in the cell next
to it. I would like to write a macro to replace "firstname" with the
cell next to it with the person's first name. Similarly, then, I have
someone's last name in another cell and I would like to write a macro
to replace "lastname" with the cell with the person's last name.

Any macro writers who can help?





------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Replace text in a cell with text in another cell

You can create a hyplerlink like this using the Worksheet hyperlink function
(in help). I would look at that first and if it doesn't do what you want,
then post back.

=Hyperlink( arguments)

--
Regards,
Tom Ogilvy


"bristol" wrote in message
...
I would like to replace certain text in a cell with text in the adjacent
cell. For example, I have someone's first name in one cell and I have
a email address layout like in the cell next
to it. I would like to write a macro to replace "firstname" with the
cell next to it with the person's first name. Similarly, then, I have
someone's last name in another cell and I would like to write a macro
to replace "lastname" with the cell with the person's last name.

Any macro writers who can help?





------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
replace part text in a cell Indra Excel Discussion (Misc queries) 3 December 8th 08 03:29 AM
Can I replace a ' at the beginning of a text cell using Replace Hilde Excel Discussion (Misc queries) 4 September 10th 07 06:22 PM
find text in cell and replace it with part of the text in that ce. jules Excel Discussion (Misc queries) 3 May 3rd 07 10:18 AM
to replace only the last text/chracter in a cell Petee Excel Discussion (Misc queries) 1 March 1st 07 05:44 PM
How do I change replace text in a cell for different text? ronedwards Excel Worksheet Functions 4 August 18th 06 03:31 AM


All times are GMT +1. The time now is 07:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"