VBA macros don’t work in Google Sheets, as the platform uses Google Apps Script instead. But if you have access to Google Workspace Enterprise Plus and/or G Suite Enterprise for Education, you can convert your VBA macros to a compatible Sheets script using Macro Converter.