J
Jeff
Hello,
this is my VBA Macro:
I want to select "clastrow" as my active cell. is that possible ?
Thanks,
Sub SumM()
Dim clastrow As Long
Dim olast As Range
clastrow = Cells(Rows.Count, "I").End(xlUp).Row
MsgBox clastrow
Set olast = Range("I" & clastrow)
isum = Application.WorksheetFunction.Sum(Range("I4:I" & olast))
ActiveCell.Value = isum
End Sub
this is my VBA Macro:
I want to select "clastrow" as my active cell. is that possible ?
Thanks,
Sub SumM()
Dim clastrow As Long
Dim olast As Range
clastrow = Cells(Rows.Count, "I").End(xlUp).Row
MsgBox clastrow
Set olast = Range("I" & clastrow)
isum = Application.WorksheetFunction.Sum(Range("I4:I" & olast))
ActiveCell.Value = isum
End Sub