Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Formul in Excel looks like this:
=TestForEach(F7:J8) Function TestForEach(a As Range) Dim cell As Range For Each cell In Range(a) Msgbox("Hello") Next End Function Whats worg with this picture. I am trying to pass a range of cells from excel to this function and nothing happens. For some reason I am not using the "a" range correctly. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Passing a range to a function | Excel Programming | |||
Passing a range into a VBA function | Excel Programming | |||
Passing range as an argument in a function | Excel Programming | |||
Passing a Range to a Function Problem | Excel Programming | |||
Passing an unkown range to a function | Excel Programming |