How would I programmatically (within a VBA macro) set the contents of a cell to be a formula ?
For example, I know I can set a cell to the contents of a string, by doing
I tried something like![]()
Please Login or Register to view this content.
but that of course didn't work.![]()
Please Login or Register to view this content.
The formula
Formula:
Please Login or Register to view this content.
works for me, but I want to be able to programmatically place it in a cell, while incrementing the cell references in the formula ... IE: E11, F11 .... E12, F12, .... E13, F13 .......
Thanks
Bookmarks