經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供