Adding " , ) to text array

M

Matt A.

I have a 1000 row worksheet using 12 columns. Each cell is filled with an
individual word used in the english language. In some cases I need to add a
( ) " , to words in each cell. Any hints on the most effective way to do
this for multiple cells at the same time? Thanks much.
 
G

Gord Dibben

Most effective method would be to use a macro.

Since you don't specify what "some cases" are here is example code which
will append to every cell in a selection.

Sub addtext()
For Each cell In Selection
cell.Value = cell.Value & "()"","
Next
End Sub


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top