Ok, as I thought, it was easy to implement (especially for someone who knows what they're doing). After a ton of research I used the macropump file and put the code in it.
Works a treat.
Thanks for the help 😑