here is my code (what it does it create a formula thats very long).
It works (meaning that it puts the correct formula in a cell) but error's out at the very end.
here is what the formula looks like when its done:![]()
Please Login or Register to view this content.
as you can see it's very long. so the macro works by putting the formula in E66, however in the visual basic editor it complains about this line:![]()
Please Login or Register to view this content.
ActiveCell.FormulaR1C1 = a
any thoughts about what is causing this line to error out?
the error is "run time error '1004': Application defined or object defined error"
Bookmarks