Home |
Search |
Today's Posts |
#1
|
|||
|
|||
replacing text in all cells with existing text plus something
Hi,
I have a sheet with several rows and columns containing text. I would like to add similar text to all the cells after the existing text. Is there an easy way to do that? thanks ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...lic.excel.misc |
#2
|
|||
|
|||
replacing text in all cells with existing text plus something
avi2001, you could use a macro something like this,
Sub AddText() Application.ScreenUpdating = False For Each c In Range("A2:C25") 'change to your range c.Value = c & " your text here" Next Application.ScreenUpdating = True End Sub -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "avi2001" wrote in message ... Hi, I have a sheet with several rows and columns containing text. I would like to add similar text to all the cells after the existing text. Is there an easy way to do that? thanks ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...lic.excel.misc |
#3
|
|||
|
|||
replacing text in all cells with existing text plus something
try
for each c in selection c.value=c &" blah blah blah" next -- Don Guillett SalesAid Software "avi2001" wrote in message ... Hi, I have a sheet with several rows and columns containing text. I would like to add similar text to all the cells after the existing text. Is there an easy way to do that? thanks ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...lic.excel.misc |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Not all pasted text appears in cells | Excel Discussion (Misc queries) | |||
Macro or Formula to remove Text from Cells | Excel Worksheet Functions | |||
I want Excel to allow cells with formulas and unrelated text | Excel Discussion (Misc queries) | |||
How to add another line in cells with existing text? | New Users to Excel | |||
How do I get merged cells to display all text. | Excel Discussion (Misc queries) |