Hi @ArmDezii ,
Our forum mainly discuss about SharePoint development using C#, Since your question is about VBA , we suggest you create a new thread on techcommunity for help, more professional will assist you.
techcommunity :
https://techcommunity.microsoft.com/t5/sharepoint-developer/bd-p/SharePointDev
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.