Can Google Sheets open XLSM files?

XLSM is Excel's macro-enabled workbook. Google Sheets can import the data but does not run Excel VBA macros inside the file. Rebuild macros as Apps Script after import, and expect to fix formulas and names that differ between products.

When to use it

Use XLSM import for the tables and charts, then plan an Apps Script rewrite for macros.

When to skip it

Skip macro expectations on upload when the sender can provide XLSX without VBA.

Better Sheets resources

Related Tutorials

Watch how XLSM works

Browse more tutorials
The First Thing I Do When Starting a Google Sheet

The First Thing I Do When Starting a Google Sheet

Are you tired of the default look of your Google Sheets? In this video, ...
5 Ways To Use Google Sheets for Advanced Project Management

5 Ways To Use Google Sheets for Advanced Project Management

Here are 5 advanced ways to manage projects inside of Google Sheets Man...

Related blog posts

Guides that explain XLSM in more depth.

Browse the blog

Related terms

Excel XLSX and Google Sheets

XLSX is the modern Excel workbook format. Google Sheets opens it through File > Import or by uploading to Drive and choosing Open with Google Sheets. Most values, tabs, and basic formatting convert cleanly, but some Excel-only features need a workaround or a stay-in-Excel decision.

Read guide →

VBA

Google Sheets automation runs through Google Apps Script (JavaScript) and recorded macros, not VBA. In Excel, VBA is the desktop language behind macros, UserForms, and many add-ins. Rebuild Excel VBA in Apps Script: triggers, custom menus, and batch range updates replace most workbook automation.

Read guide →

Google Apps Script

Apps Script is Google's JavaScript platform for automating Sheets and other Workspace apps. From a spreadsheet you can open Extensions > Apps Script to write code that reads cells, sends email, builds menus, and runs on triggers. It goes beyond formulas when you need custom workflows tied to your file.

Read guide →

Google Sheets macros

A macro records your clicks and keystrokes in Google Sheets, then saves them as an Apps Script function you can run again from the Extensions menu or a keyboard shortcut. Macros are the fastest on-ramp to automation when your task is a fixed sequence of formatting or edits.

Read guide →

Visual Basic

Visual Basic is the language family behind Excel VBA. Google Sheets does not run VB or VBA; the closest equivalent is Google Apps Script, which uses modern JavaScript syntax. Recorded macros in Sheets generate Apps Script you can extend, similar to how Excel's macro recorder outputs VBA.

Read guide →

Power Query

Power Query is Excel's click-and-refresh ETL engine. Google Sheets combines IMPORT functions, QUERY, Apps Script, Connected Sheets, and add-ons for the same jobs: pull web or file data, reshape tables, and refresh on a schedule. There is no Power Query UI inside Sheets.

Read guide →

Done reading about XLSM?

Membership unlocks 637+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.

Need this once

Jump to a free tool or a single tutorial for this topic.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.