I have the following array formula:
=SUM(B2:C2*B3:C3)
How should I asign this using Visual Basic?
Thanks
I have the following array formula:
=SUM(B2:C2*B3:C3)
How should I asign this using Visual Basic?
Thanks
The FormulaArray property requires R1C1 notation (according to Excel Help)
I think this will point you in the right direction:
Alternatively, if you're fluent in R1C1, you could use this line in the code:![]()
Please Login or Register to view this content.
Does that hlep?![]()
Please Login or Register to view this content.
Ron, FYI, x-posted: http://www.mrexcel.com/forum/showthread.php?t=452954
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Hello SCFM,
Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks