Small Paul
Board Regular
- Joined
- Jun 28, 2018
- Messages
- 118
Hi
I am sure this is very simple but having tried a variety of options from other threads I cannot solve it.
I am trying to add a simple =sumif formula to a macro:
I have tried without the R1C1 as well but the error 'invalid or unqualified reference' is given, no matter what I try.
Any assistance would be appreciated.
Many thanks
Small Paul.
I am sure this is very simple but having tried a variety of options from other threads I cannot solve it.
I am trying to add a simple =sumif formula to a macro:
Code:
Range("H35").Select
.FormulaR1C1 = "=sumif(H4:H32,<=0)"
I have tried without the R1C1 as well but the error 'invalid or unqualified reference' is given, no matter what I try.
Any assistance would be appreciated.
Many thanks
Small Paul.