View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default How do I create a macro to add a zero to end of a cell? or cells..

If all the numbers in the range are integers then:

Sub monica()
For Each r In Selection
r.Value = 10 * r.Value
Next
End Sub

--
Gary''s Student - gsnu200737


"Monica" wrote:

Trying to create a macro to add a zero to the end of a cell or range of cells
-

Ie - if number is 123 it becomes 1230

Thanks