Hi,
I have an array with strings "M","P","R" (size of the array varies from 2 to n) which refer to columns. I'm trying to write a procedure/function that will take the array and write the function "=SUM(M3,P3,R3)" to Q3 in this case (formula would need to be visible). Would there be any way to loop inside worksheetfunction.sum(arg1,arg2,arg3 etc.) or with range("Q3").Formula = "=arg1+arg2+arg3 etc."?
Thanks,
amphi
Bookmarks