 |
VBA - pass range as function parameter Microsoft Excel
Hi guys, How do I pass a range to a function as a parameter? Let's say I have the function Function MyFunction(myRange as Range) 'Do something with myRange... ... Hi, objSheetRange = Sheets(DataSheet).Range("B5:C9") DataSheet is this a variable or sheet .
www.nullskull.com |
 |