Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ann ann is offline
external usenet poster
 
Posts: 210
Default Insert the same word at the start of a column of cells

I have a column of descriptions and want to insert the word Muratec in front
of each description. Does anyone know how to do this?
--
Thanks,
Ann
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Insert the same word at the start of a column of cells

try

Sub addtext()
For Each c In Range("e2"). _
Resize(Cells(Rows.Count, "e").End(xlUp).Row - 1)
c.Value = "Muratec " & c
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ann" wrote in message
...
I have a column of descriptions and want to insert the word Muratec in
front
of each description. Does anyone know how to do this?
--
Thanks,
Ann


  #3   Report Post  
Posted to microsoft.public.excel.misc
ann ann is offline
external usenet poster
 
Posts: 210
Default Insert the same word at the start of a column of cells

Where do I type in Sub addtext()
--
Thanks,
Ann


"Don Guillett" wrote:

try

Sub addtext()
For Each c In Range("e2"). _
Resize(Cells(Rows.Count, "e").End(xlUp).Row - 1)
c.Value = "Muratec " & c
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ann" wrote in message
...
I have a column of descriptions and want to insert the word Muratec in
front
of each description. Does anyone know how to do this?
--
Thanks,
Ann



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
Insert pagebreak when a specific word appears in a column. Neal Excel Discussion (Misc queries) 4 October 27th 08 11:17 PM
how can i insert a word into many cells in a list Pete_UK Excel Discussion (Misc queries) 0 July 2nd 08 03:09 PM
how can i insert a word into many cells in a list Pete_UK Excel Discussion (Misc queries) 0 July 2nd 08 01:59 PM
how can i insert a word into many cells in a list Cheekyscampster Excel Discussion (Misc queries) 4 July 2nd 08 01:59 PM
How can I insert same word into selected column ZigZig Excel Discussion (Misc queries) 1 February 6th 06 09:40 AM


All times are GMT +1. The time now is 10:43 AM.

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"