Hi
I'm trying to code a macro to enter a formula into multiple cells. The thing is, part of the range of the formula has been stored in a variable as the column its going to reference is going to change:
Range("C5").Formula = "=COUNTIFS(Table!$I:$I, $E$2,Table!SkillLetter01:SkillLetter01, Reports!B5)"
I need to replace SkillLetter01 with the value stored in SkillLetter but cannot for the life of me work out how. Any help would be appreciated!
Bookmarks