Hi,
I am trying to execute th code:
ApXL.Activesheet.Range("E371").Formula = "=sum(a5:a300)"
It works fine but when I am trying to change it to
ApXL.Activesheet.Range("E371").Formula = "=sum(a5:aP)"
where P is a variable it is not working any more. I have tried all methods I imagine but nothing. Does anybody have experience like that. Later on I need to change a and E371 to variabel as well.
Regards
I am trying to execute th code:
ApXL.Activesheet.Range("E371").Formula = "=sum(a5:a300)"
It works fine but when I am trying to change it to
ApXL.Activesheet.Range("E371").Formula = "=sum(a5:aP)"
where P is a variable it is not working any more. I have tried all methods I imagine but nothing. Does anybody have experience like that. Later on I need to change a and E371 to variabel as well.
Regards