View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
John LR John LR is offline
external usenet poster
 
Posts: 5
Default Sum the first character in a range

Could some body Please help.
I need to sum the first number in each cell of my Range EG:
A1 B1 C1
2a 6c 2we = 10

Dim myrange1 As Range
Dim a As Integer
Set myrange1 = Range(Selection.EntireRow.Cells(1, 1), Selection)
a = Application.WorksheetFunction.Sum(myrange1)
MsgBox a

Any help much appreciated