Yes, it's possible! In this post we see how to create Excel macros in Google Sheets, and more specifically, we
will compare the two leading spreadsheet applications, side by side, in regards
to automation and the creation of macros. It is possible to replicate Excel
macros in Google Sheets in many cases, yet there are some limits to achieve everything
we do in Excel. On the other hand, macros in Google Sheets allow to easily
integrate with other Google APIs and web resources, and can even be taken to
another level to create entire web applications. However, the programming
language we use to code the macros is quite different altogether. Microsoft
Excel uses Visual Basic for Applications (VBA), while Google Sheets uses Google
Apps Script. This post will help you leverage your Excel VBA knowledge to
quickly get you up to speed with creating macros in Google Sheets.