count how many characters in a cell?

  • Thread starter Thread starter SS
  • Start date Start date
S

SS

Is it possible to get one cell to tell me how many characters are in another
cell (counting spaces as characters)?
ss
 
Hi again SS,

Since you posted to a programming group perhaps you wanted a VBA solution.

Sub TheLen()
Dim i As String
i = Len(Range("A1"))
MsgBox i
End Sub

HTH
Regards,
Howard
 
thanks.

=len(A1) will do fine.

I posted here 'cos in the past I've got better responses than in other excel
groups.

hope I'm not too off topic.....
If I am then I'm sorry.
SS
 
Back
Top