ransomedbyfire
Board Regular
- Joined
- Mar 9, 2011
- Messages
- 121
I am writing a few macros and UDFs in the same workbook. My UDFs are all in Module 1, and my macros are in their relevant sheets. When I run one of my macros, it jumps into the UDFs once it reads this line:
(The formula in row 13 is "=IF(N13<>"",RANK(N13,$N$8:$N$12),"")". This has nothing to do with my UDFs.)
Why is this, and what can I do to stop it from happening?
Thanks!
Code:
Selection.Formula = Cells(13, c).Formula
(The formula in row 13 is "=IF(N13<>"",RANK(N13,$N$8:$N$12),"")". This has nothing to do with my UDFs.)
Why is this, and what can I do to stop it from happening?
Thanks!
Last edited: