i have:
riga=3 (is my count)
I want to summ the vale in range D&riga to EA&riga and store the result in MY_TOTAL
i have:
riga=3 (is my count)
I want to summ the vale in range D&riga to EA&riga and store the result in MY_TOTAL
Hi,
Does this help
VBA Noob![]()
Sub SumX() Dim riga As Integer riga = 3 Range("MY_TOTAL").Value = WorksheetFunction.Sum(Range("D" & riga & ":EA" & riga)) End Sub
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Hi, work perfect!Originally Posted by VBA Noob
Tks.
Glad it helped
VBA Noob
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks