Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

Excel automation: easily automate spreadsheet tasks

Many Excel tasks are repetitive and time consuming. Luckily, there are several ways to automate them. This guide to spreadsheet automation in Excel covers VBA macros, Power Automate, and Sheetgo, an AI-powered data automation platform where you can build custom workflows to automate your spreadsheet and business processes, without having to write a single line of code.

What can you use Excel automation for?

Excel automation examples

  • High-volume data input
  • Data entry forms creation
  • New files creation
  • Data format and style modifications
  • Refresh data
  • External data source connections

How to automate Excel spreadsheets?

How to automate Excel spreadsheets using VBA macros?

Add developer tab, including VBA and macros features

VBA macros record a series of steps so Excel can repeat them for you. To create them, first add the Developer tab to the ribbon.

1. Click on the Customize Quick Access Toolbar drop-down arrow and select “More Commands…” as shown below.

Spreadsheet automation in Excel — Customize Quick Access Toolbar menu open with More Commands highlighted

2. Select “Customize Ribbon” from the left-side menu and then “Main Tabs” from the “Customize the Ribbon” drop-down menu to the right.

Spreadsheet automation in Excel — Excel Options on Customize the Ribbon with Main Tabs selected

3. Select the “Developer” option and then “OK” to enable it in your toolbar.

Spreadsheet automation in Excel — Main Tabs list in Excel Options with Developer checked

How to refresh data in Excel using VBA macros?

1. Go to your new “Developer” tab and select “Record Macro”.

Spreadsheet automation in Excel — Developer tab open with the Record Macro button

2. Enter the name of the Macro. Here, I’ll use “RefreshChartA”. Click “OK” to continue.

Spreadsheet automation in Excel — Record Macro dialog with the macro name RefreshChartA

3. Click on the “VBA” button from your “Developer” tab and adapt the following code according to your sheet and macro names:

Private Sub Sheet1(data)
Call RefreshChartA
End Sub

Sub RefreshChartA()
ActiveSheet.ChartObjects("ChartA").Activate
ActiveChart.PivotLayout.PivotTable.PivotCache.Refresh
End Sub
Spreadsheet automation in Excel — VBA editor with the RefreshChartA code for Sheet1

4. Click on the “Play” green icon in VBA and then select the macro you just created. Then, click “Run” to execute the macro.

Spreadsheet automation in Excel — Macros dialog with RefreshChartA selected and the Run button

5. To check that it works, apply any change to the PivotTable to see how it reflects in the sheet containing the Chart. For example, here, I’ll remove the last row.

Spreadsheet automation in Excel — right-click menu on the last data row with Delete selected

6. Head over to the sheet containing the chart, and it should automatically reflect the change made.

Spreadsheet automation in Excel — column chart on the Chart1 sheet after the refresh

How to automate Excel spreadsheets using Power Automate?

1. Launch Power Automate and click on “Templates”.

Spreadsheet automation with Power Automate — Templates gallery with Excel and SharePoint flows

2. Enter “Create a row in another spreadsheet for a selected row” to automate synchronization tasks between two spreadsheets. Click “Continue” to edit your template.

Spreadsheet automation with Power Automate — Create a row in another spreadsheet for a selected row template with Continue

3. You’ll see two boxes corresponding to each dataset that you’ll synchronize. You simply need to click on the field and choose the file location from the drop-down menu.

Spreadsheet automation with Power Automate — Add a row into a table step with the Dynamic content panel open

4. The second box contains the information related to the table that will be updated, so you’ll need to provide further information on the type of data to add. As soon as you click on the fields, you’ll be prompted to enter the values from the available options to the right. Click “Save” to finish.

Spreadsheet automation with Power Automate — For a selected row and Add a row into a table steps with fields filled

Automate your spreadsheet tasks with Sheetgo

Sheetgo, an AI-powered data automation platform, takes spreadsheet automation further. Instantly connect your spreadsheets and create automated workflows to eliminate manual tasks, standardize processes, remove bottlenecks, and increase efficiency.

With Sheetgo, you can automate all of the following:

  • Data collection

  • Data storage

  • Data manipulation

  • Data visualization and reporting

  • Data analysis

  • Document generation

  • Task management

  • Expense tracking

To learn more, read about the advantages of automated data processing, the best workflow automation software, how to structure your workflow, and how to consolidate Excel files automatically.

Conclusion

VBA macros and Power Automate handle many repetitive tasks inside Excel. When your data is spread across several files, try Sheetgo, an AI-powered data automation platform, for free and connect those files into one automated workflow.

You may also like…

How to lock cells in Excel — Excel logo next to a green padlock on a mint background

How to lock cells in Excel? (cells, sheets & formulas)

Learn how to lock cells in Excel to stop accidental edits, plus how to protect a sheet and lock formulas, with steps for Windows and Mac.

Excel version control — stacked XLS file icon in teal on a dark navy background

The beginner’s guide to Excel version control

Discover what Excel version control is, the version control features Excel has to offer, and how to use them to share, merge, and review Excel changes.

How to remove password protection from Excel — Excel icon next to a padlock with a masked password on a light blue background

How to remove a password from Excel (multiple methods)

Learn how to remove password protection from Excel: unlock a file or a sheet when you know the password, and what to try if you’ve forgotten it.