Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can anyone tell me why the end result of this function gives me the
#NAME? error in cell F2? Function RangeTot() Dim myLastCell As String Dim myFirstCell As String Selection.End(xlDown).Select myFirstCell = ActiveCell.Address Selection.End(xlDown).Select myLastCell = ActiveCell.Address Range("F2").Select ActiveCell.FormulaR1C1 = "=sum(myFirstCell" & ":myLastCell" & ")" End Function TIA, Chris |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic Range | Excel Worksheet Functions | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
copying dynamic range based on cell outside of range | Excel Programming | |||
select dynamic range with dynamic start point | Excel Programming | |||
Excel 2000 VBA - Set Print Range in dynamic range | Excel Programming |