I am trying to use a macro to create formulas as I can't simply drag them across the required range. The code I current have is:
However when I try to run this I get the error message "Run-time error '1004': Application-defined or object-define error".
It has something to do with the line:
Strangely enough however the first attempt I had at this worked, which was:
The mistake here was that I missed out the semi-colon, the ":" part of the previous line, so when the formulas were created they were not create as the ranges were not seperated by a : symbol. However I don't see why my corrected version does not work since all I did was add in:
to the code. Why does this make it not work now?
Thanks
Bookmarks