ChrisFoster
Active Member
- Joined
- Jun 21, 2019
- Messages
- 256
- Office Version
- 365
- Platform
- Windows
Hi all,
I am trying to get VBA to autofill a formula to the last active cell in the row. I have the below code, which works fine in other macros I've got running but not in this one I'm now working on.
It just debugs.
Can anyone help please?
Regards,
Chris
I am trying to get VBA to autofill a formula to the last active cell in the row. I have the below code, which works fine in other macros I've got running but not in this one I'm now working on.
It just debugs.
Code:
ActiveCell.AutoFill Range(ActiveCell, ActiveCell.Offset(0, -1).End(xlDown).Offset(0, 1))
Can anyone help please?
Regards,
Chris