Dear Jacob,
Good day!
Thanks for posting in Microsoft Community.
We would love to help you on your query about VBA code, however, our team focuses on general query, for example, installation and activation issue of Office 365 products. The situation you mentioned is related to VBA code, you can to refer to this article: Office VBA support and feedback | Microsoft Docs to go to Stack Overflow by using the VBA tag, along with any other relevant tags as there are also many experienced engineers and experts in the forums there.
Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites, or any support related to technology.
At the same time, we will also keep this thread open, so other Community members and Experts can also share their suggestions and inputs.
Thank you for your cooperation and understanding!
Best Regards,
Sukie