{"id":265798,"date":"2024-03-13T20:08:14","date_gmt":"2024-03-13T19:08:14","guid":{"rendered":"https:\/\/www.sheetgo.com\/?p=265798"},"modified":"2026-10-28T14:22:33","modified_gmt":"2026-10-28T13:22:33","slug":"automacao-excel","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/excel-features\/excel-automation\/","title":{"rendered":"Automa\u00e7\u00e3o no Excel: automatize tarefas de planilhas com facilidade"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; da_is_popup=&#8221;off&#8221; da_exit_intent=&#8221;off&#8221; da_has_close=&#8221;on&#8221; da_alt_close=&#8221;off&#8221; da_dark_close=&#8221;off&#8221; da_not_modal=&#8221;on&#8221; da_is_singular=&#8221;off&#8221; da_with_loader=&#8221;off&#8221; da_has_shadow=&#8221;on&#8221; da_disable_devices=&#8221;off|off|off&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>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 <a href=\"https:\/\/www.sheetgo.com\/automations\/\">Sheetgo<\/a>, 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.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;what-can-you-use-excel-automation-for&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>What can you use Excel automation for?<\/h2>\n<h3>Excel automation examples<\/h3>\n<ul>\n<li>High-volume data input<\/li>\n<li>Data entry forms creation<\/li>\n<li>New files creation<\/li>\n<li>Data format and style modifications<\/li>\n<li>Refresh data<\/li>\n<li>External data source connections<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;how-to-automate-excel-spreadsheets&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>How to automate Excel spreadsheets?<\/h2>\n<h3>How to automate Excel spreadsheets using VBA macros?<\/h3>\n<h3>Add developer tab, including VBA and macros features<\/h3>\n<p>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.<\/p>\n<p><strong>1.<\/strong> Click on the Customize Quick Access Toolbar drop-down arrow and select &#8220;More Commands\u2026&#8221; as shown below.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-more-commands.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 Customize Quick Access Toolbar menu open with More Commands highlighted&#8221; title_text=&#8221;Customize Quick Access Toolbar menu open with More Commands highlighted&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Select \u201cCustomize Ribbon\u201d from the left-side menu and then \u201cMain Tabs\u201d from the \u201cCustomize the Ribbon\u201d drop-down menu to the right.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-customize-ribbon.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 Excel Options on Customize the Ribbon with Main Tabs selected&#8221; title_text=&#8221;Excel Options on Customize the Ribbon with Main Tabs selected&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> Select the \u201cDeveloper\u201d option and then \u201cOK\u201d to enable it in your toolbar.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-developer-tab.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 Main Tabs list in Excel Options with Developer checked&#8221; title_text=&#8221;Main Tabs list in Excel Options with Developer checked&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>How to refresh data in Excel using VBA macros?<\/h3>\n<p><strong>1.<\/strong> Go to your new \u201cDeveloper\u201d tab and select \u201cRecord Macro\u201d.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-record-macro.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 Developer tab open with the Record Macro button&#8221; title_text=&#8221;Developer tab open with the Record Macro button&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Enter the name of the Macro. Here, I\u2019ll use \u201cRefreshChartA\u201d. Click \u201cOK\u201d to continue.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-name-macro.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 Record Macro dialog with the macro name RefreshChartA&#8221; title_text=&#8221;Record Macro dialog with the macro name RefreshChartA&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> Click on the \u201cVBA\u201d button from your \u201cDeveloper\u201d tab and adapt the following code according to your sheet and macro names:<\/p>\n<pre><code>Private Sub Sheet1(data)\nCall RefreshChartA\nEnd Sub\n\nSub RefreshChartA()\nActiveSheet.ChartObjects(\"ChartA\").Activate\nActiveChart.PivotLayout.PivotTable.PivotCache.Refresh\nEnd Sub<\/code><\/pre>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-vba-refresh-code.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 VBA editor with the RefreshChartA code for Sheet1&#8243; title_text=&#8221;VBA editor with the RefreshChartA code for Sheet1&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4.<\/strong> Click on the \u201cPlay\u201d green icon in VBA and then select the macro you just created. Then, click \u201cRun\u201d to execute the macro.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-run-macro.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 Macros dialog with RefreshChartA selected and the Run button&#8221; title_text=&#8221;Macros dialog with RefreshChartA selected and the Run button&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>5.<\/strong> To check that it works, apply any change to the <a href=\"https:\/\/www.sheetgo.com\/blog\/excel-features\/pivot-table-in-excel\/\">PivotTable<\/a> to see how it reflects in the sheet containing the Chart. For example, here, I\u2019ll remove the last row.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-edit-pivottable.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 right-click menu on the last data row with Delete selected&#8221; title_text=&#8221;Right-click menu on the last data row with Delete selected&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>6.<\/strong> Head over to the sheet containing the chart, and it should automatically reflect the change made.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-excel-refreshed-chart.webp&#8221; alt=&#8221;Spreadsheet automation in Excel \u2014 column chart on the Chart1 sheet after the refresh&#8221; title_text=&#8221;Column chart on the Chart1 sheet after the refresh&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>How to automate Excel spreadsheets using Power Automate?<\/h3>\n<p><strong>1.<\/strong> Launch Power Automate and click on \u201cTemplates\u201d.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-power-automate-templates.webp&#8221; alt=&#8221;Spreadsheet automation with Power Automate \u2014 Templates gallery with Excel and SharePoint flows&#8221; title_text=&#8221;Templates gallery with Excel and SharePoint flows&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Enter \u201cCreate a row in another spreadsheet for a selected row\u201d to automate synchronization tasks between two spreadsheets. Click \u201cContinue\u201d to edit your template.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-power-automate-continue.webp&#8221; alt=&#8221;Spreadsheet automation with Power Automate \u2014 Create a row in another spreadsheet for a selected row template with Continue&#8221; title_text=&#8221;Create a row in another spreadsheet for a selected row template with Continue&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> You\u2019ll see two boxes corresponding to each dataset that you\u2019ll synchronize. You simply need to click on the field and choose the file location from the drop-down menu.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-power-automate-edit-template.webp&#8221; alt=&#8221;Spreadsheet automation with Power Automate \u2014 Add a row into a table step with the Dynamic content panel open&#8221; title_text=&#8221;Add a row into a table step with the Dynamic content panel open&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4.<\/strong> The second box contains the information related to the table that will be updated, so you\u2019ll need to provide further information on the type of data to add. As soon as you click on the fields, you\u2019ll be prompted to enter the values from the available options to the right. Click \u201cSave\u201d to finish.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/spreadsheet-automation-power-automate-dynamic-content.webp&#8221; alt=&#8221;Spreadsheet automation with Power Automate \u2014 For a selected row and Add a row into a table steps with fields filled&#8221; title_text=&#8221;For a selected row and Add a row into a table steps with fields filled&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text module_id=&#8221;automate-your-spreadsheet-tasks-with-she&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>Automate your spreadsheet tasks with Sheetgo<\/h2>\n<p><a href=\"https:\/\/www.sheetgo.com\/automations\/\">Sheetgo<\/a>, 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.<\/p>\n<p>With Sheetgo, you can automate all of the following:<\/p>\n<ul>\n<li>\n<p>Data collection<\/p>\n<\/li>\n<li>\n<p>Data storage<\/p>\n<\/li>\n<li>\n<p>Data manipulation<\/p>\n<\/li>\n<li>\n<p>Data visualization and reporting<\/p>\n<\/li>\n<li>\n<p>Data analysis<\/p>\n<\/li>\n<li>\n<p>Document generation<\/p>\n<\/li>\n<li>\n<p>Task management<\/p>\n<\/li>\n<li>\n<p>Expense tracking<\/p>\n<\/li>\n<\/ul>\n<p>To learn more, read about <a href=\"https:\/\/www.sheetgo.com\/blog\/business-processes\/the-advantages-of-automated-data-processing\/\">the advantages of automated data processing<\/a>, <a href=\"https:\/\/www.sheetgo.com\/blog\/business-processes\/best-workflow-automation-software\/\">the best workflow automation software<\/a>, <a href=\"https:\/\/www.sheetgo.com\/blog\/spreadsheets-tips\/the-ultimate-guide-to-structuring-your-workflow\/\">how to structure your workflow<\/a>, and how to <a href=\"https:\/\/www.sheetgo.com\/blog\/how-to-solve-with-sheetgo\/consolidate-excel-files-automatically\/\">consolidate Excel files automatically<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;conclusion&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>Conclusion<\/h2>\n<p>VBA macros and Power Automate handle many repetitive tasks inside Excel. When your data is spread across several files, try <a href=\"https:\/\/www.sheetgo.com\/automations\/\">Sheetgo<\/a>, an AI-powered data automation platform, for free and connect those files into one automated workflow.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Muitas tarefas do Excel s\u00e3o repetitivas e tomam muito tempo. Aprenda a automatizar planilhas no Excel com macros do VBA, o Power Automate e os fluxos de trabalho com IA do Sheetgo.<\/p>","protected":false},"author":2,"featured_media":265812,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[51],"tags":[],"class_list":["post-265798","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel-features"],"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/265798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=265798"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/265798\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/265812"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=265798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=265798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=265798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}