insert space in cells

R

robzrob

Hi

Simple one, I think, but I can't figure it out.

I want to put a space in front of the contents of each cell (ie each cell that's got something in it) in a particular worksheet.
 
G

Gord Dibben

=" " & cellref in a helper cell

In place.................

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


Gord
 
Top