Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Below is a function that I am creating that will add the cells in each range
with each other. It does not work. Can anyone tell me what it is I'm doing wrong? Thanks in advance Public Function AddCells(RngOne As Range, RngTwo As Range) Dim fCell As Range Dim sCell As Range For Each fCell In RngOne For Each sCell In RngTwo sCell.Value = sCell Next sCell fCell.Value = fCell + sCell Next fCell End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
adding numbers that contain ranges | Excel Worksheet Functions | |||
Adding Non-Contiguous Ranges | Excel Discussion (Misc queries) | |||
adding ranges | Excel Discussion (Misc queries) | |||
adding named ranges | New Users to Excel | |||
Adding ranges | Excel Programming |