Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you want a macro................
Sub Add_Text_Left() Dim Cell As Range Dim moretext As String Dim thisrng As Range On Error GoTo endit Set thisrng = Range(ActiveCell.Address & "," & Selection.Address) _ .SpecialCells(xlCellTypeConstants, xlTextValues) moretext = InputBox("Enter your Text") For Each Cell In thisrng Cell.Value = moretext & Cell.Value Next Exit Sub endit: MsgBox "only formulas in range" End Sub Gord Dibben MS Excel MVP On Wed, 2 Sep 2009 06:30:02 -0700, Rahul Srivastava <Rahul wrote: Hi i have an excel spread sheet of around 200 rows, in one of its column i want to update a word as a prefix to text in all the rows. Is there any ways (shortcut) i can update the prefix by some formulas or logical function? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I set an 'M' prefix to existing text in a column? | New Users to Excel | |||
How to update a column making sure new rows are created for new va | Excel Discussion (Misc queries) | |||
how do I update a column and create new rows for new column cells | Excel Discussion (Misc queries) | |||
Adding a prefix to all numbers in a column. | Excel Discussion (Misc queries) | |||
how do i prefix a column with letters | Excel Discussion (Misc queries) |