{"id":655,"date":"2022-05-24T13:26:52","date_gmt":"2022-05-24T13:26:52","guid":{"rendered":"https:\/\/bandittracker.com\/?p=655"},"modified":"2022-11-06T13:53:56","modified_gmt":"2022-11-06T13:53:56","slug":"create-an-excel-file-with-power-automate-desktop","status":"publish","type":"post","link":"https:\/\/bandittracker.com\/create-an-excel-file-with-power-automate-desktop\/","title":{"rendered":"Power Automate Create Excel File (Tutorial)"},"content":{"rendered":"\n
This quick tutorial shows you how to use Power Automate Desktop to create and save an Excel spreadsheet.<\/p>\n\n\n\n
You\u2019ll learn how to use Power Automate Desktop to:<\/p>\n\n\n\n
Table of Contents<\/p>\nToggle<\/span><\/path><\/svg><\/svg><\/span><\/span><\/label>Prerequisites<\/a><\/li>Video Walkthrough<\/a><\/li>Using Power Automate Desktop To Create An Excel Spreadsheet<\/a><\/li>What The Completed Flow Looks Like<\/a><\/li>Run The Full Flow<\/a><\/li><\/ul><\/nav><\/div>\n<\/span>Prerequisites<\/span><\/h2>\n\n\n\nYou will need these two applications installed on your local machine:<\/p>\n\n\n\nPower Automate Desktop<\/li>A version of Microsoft Excel<\/li><\/ol>\n\n\n\n<\/span>Video Walkthrough<\/span><\/h2>\n\n\n\nIf you prefer video, here’s the walkthrough of the contents of this article.<\/p>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n<\/span>Using Power Automate Desktop To Create An Excel Spreadsheet<\/span><\/h2>\n\n\n\nLaunch Power Automate Desktop.<\/p>\n\n\n\nAdd a new flow by clicking on the + icon in the top left of the window. Name your flow \u201cexcel_hello_world\u201d and hit the Create button.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nFinding and choosing the Excel actions<\/h3>\n\n\n\nThe left pane of the Editor shows all the categories of actions available to you.<\/p>\n\n\n\nYou\u2019ll find \u201cExcel\u201d in the middle of the list. Expand the category to see individual actions for controlling Excel.<\/p>\n\n\n\nWe\u2019ll be using three actions in this starter project. I\u2019ve labeled them in order in the picture below.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nThe first action we\u2019ll use is to launch Excel on your machine.<\/p>\n\n\n\nThis action will launch a new instance of Excel, regardless if you already have a spreadsheet already open or not.<\/p>\n\n\n\nIt\u2019ll be less confusing for you now if you close any instances of Excel that are currently running.<\/em><\/p>\n\n\n\nChoose \u201cLaunch Excel\u201d<\/h3>\n\n\n\nDrag and drop \u201cLaunch Excel\u201d into the Main window in the editor.<\/p>\n\n\n\nYou will see a pop-up window that allows you further control over when Excel opens. For our tutorial, leave all the defaults.<\/p>\n\n\n\nThis will result in Excel launching with a blank worksheet.<\/p>\n\n\n\nNow we want to do something useful with this worksheet.<\/p>\n\n\n\nWrite to the worksheet<\/h3>\n\n\n\nDrag and drop \u201cWrite to Excel worksheet\u201d into the editor as the next action.<\/p>\n\n\n\nWe\u2019re going to keep things simple in the pop-up window.<\/p>\n\n\n\nI simply want to write \u201cHello World\u201d into the first cell of the spreadsheet.<\/p>\n\n\n\nTo achieve this, type into three input boxes:<\/p>\n\n\n\nValue to write:<\/em> Hello World<\/li>Column:<\/em> 1<\/li>Row:<\/em> 1<\/li><\/ul>\n\n\n\nCheck the picture below to see exactly what we\u2019re putting where.<\/p>\n\n\n\nLeave the other input boxes unchanged and click the \u201cSave\u201d button.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nTesting what we\u2019ve got so far<\/h3>\n\n\n\nAt this point, you can test what you\u2019ve done so far by running the flow.<\/p>\n\n\n\nWhen you hit the play button in the top bar, keep an eye on the bottom taskbar in Windows. You\u2019ll see the Microsoft Excel icon appear, as it is launched by your flow.<\/p>\n\n\n\nUnless you quickly minimize the PAD editor, you may not see the flow actually writing on the spreadsheet.<\/p>\n\n\n\nBut you can switch from the editor to Excel and you should see what\u2019s shown in the picture below.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nI\u2019ll call out two points.<\/p>\n\n\n\nThis is a new instance of Excel with an unsaved workbook. So, the focus is on Sheet1 of Book1.<\/p>\n\n\n\nThe second point is that \u201cHello World\u201d has been written into the first cell of the worksheet. That is exactly what we specified.<\/p>\n\n\n\nWe ran this flow without an action to close Excel. So the spreadsheet is left open for us to peruse. That\u2019s quite useful to check that we\u2019re on the right track.<\/p>\n\n\n\nBut we do want to save the spreadsheet. So, let\u2019s move on to add the final action.<\/p>\n\n\n\nSave and close the Excel file<\/h3>\n\n\n\nOur final step is to save and close the file.<\/p>\n\n\n\nYou\u2019ll see an action under the Excel category for both \u201cSave Excel\u201d and \u201cClose Excel\u201d.<\/p>\n\n\n\nWe could use both actions to save the spreadsheet first and then close it. But we can do what we need with a single action.<\/p>\n\n\n\nDrag and drop the \u201cClose Excel\u201d action into the Main flow.<\/em><\/strong><\/p>\n\n\n\nThe default parameters for this action are to close the spreadsheet without saving it. We want to change this!<\/p>\n\n\n\nExpand the dropdown for the closing parameter and switch to \u201cSave document as\u201d.<\/em><\/strong><\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nThis will open two new parameters. The first allows you to set the extension. You can leave it as the default.<\/p>\n\n\n\nThe second parameter lets you input a full file path and name (you don\u2019t need to include an extension).<\/p>\n\n\n\nI set my document path to: \u201cc:\\users\\public\\hello_world<\/strong>\u201d.<\/p>\n\n\n\nAnd that\u2019s it!<\/p>\n\n\n\n<\/span>What The Completed Flow Looks Like<\/span><\/h2>\n\n\n\nThis picture shows what your full flow should look like.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\n<\/span>Run The Full Flow<\/span><\/h2>\n\n\n\nWhen you click the run button, you\u2019ll be forgiven for wondering if anything has happened.<\/p>\n\n\n\nThis is because the Excel application has a very simple and quick task to perform before it closes itself. You may see the Excel icon appear in the taskbar at the bottom of Windows, but it will only be there for seconds.<\/p>\n\n\n\nTo verify that the flow has done what you expected, open the folder where you specified the file to be written.<\/p>\n\n\n\nThere should be an excel file with the name you specified in this folder. And its contents should contain the text \u201cHello World\u201d in the first cell.<\/p>\n","protected":false},"excerpt":{"rendered":"This quick tutorial shows you how to use Power Automate Desktop to create and save an Excel spreadsheet. You\u2019ll learn how to use Power Automate Desktop to: Launch Excel on your local machine Create a new Excel workbook Write content to a worksheet Close and save the Excel file to a specific location Prerequisites You … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655"}],"collection":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":4,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
You will need these two applications installed on your local machine:<\/p>\n\n\n\n
If you prefer video, here’s the walkthrough of the contents of this article.<\/p>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n<\/span>Using Power Automate Desktop To Create An Excel Spreadsheet<\/span><\/h2>\n\n\n\nLaunch Power Automate Desktop.<\/p>\n\n\n\nAdd a new flow by clicking on the + icon in the top left of the window. Name your flow \u201cexcel_hello_world\u201d and hit the Create button.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nFinding and choosing the Excel actions<\/h3>\n\n\n\nThe left pane of the Editor shows all the categories of actions available to you.<\/p>\n\n\n\nYou\u2019ll find \u201cExcel\u201d in the middle of the list. Expand the category to see individual actions for controlling Excel.<\/p>\n\n\n\nWe\u2019ll be using three actions in this starter project. I\u2019ve labeled them in order in the picture below.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nThe first action we\u2019ll use is to launch Excel on your machine.<\/p>\n\n\n\nThis action will launch a new instance of Excel, regardless if you already have a spreadsheet already open or not.<\/p>\n\n\n\nIt\u2019ll be less confusing for you now if you close any instances of Excel that are currently running.<\/em><\/p>\n\n\n\nChoose \u201cLaunch Excel\u201d<\/h3>\n\n\n\nDrag and drop \u201cLaunch Excel\u201d into the Main window in the editor.<\/p>\n\n\n\nYou will see a pop-up window that allows you further control over when Excel opens. For our tutorial, leave all the defaults.<\/p>\n\n\n\nThis will result in Excel launching with a blank worksheet.<\/p>\n\n\n\nNow we want to do something useful with this worksheet.<\/p>\n\n\n\nWrite to the worksheet<\/h3>\n\n\n\nDrag and drop \u201cWrite to Excel worksheet\u201d into the editor as the next action.<\/p>\n\n\n\nWe\u2019re going to keep things simple in the pop-up window.<\/p>\n\n\n\nI simply want to write \u201cHello World\u201d into the first cell of the spreadsheet.<\/p>\n\n\n\nTo achieve this, type into three input boxes:<\/p>\n\n\n\nValue to write:<\/em> Hello World<\/li>Column:<\/em> 1<\/li>Row:<\/em> 1<\/li><\/ul>\n\n\n\nCheck the picture below to see exactly what we\u2019re putting where.<\/p>\n\n\n\nLeave the other input boxes unchanged and click the \u201cSave\u201d button.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nTesting what we\u2019ve got so far<\/h3>\n\n\n\nAt this point, you can test what you\u2019ve done so far by running the flow.<\/p>\n\n\n\nWhen you hit the play button in the top bar, keep an eye on the bottom taskbar in Windows. You\u2019ll see the Microsoft Excel icon appear, as it is launched by your flow.<\/p>\n\n\n\nUnless you quickly minimize the PAD editor, you may not see the flow actually writing on the spreadsheet.<\/p>\n\n\n\nBut you can switch from the editor to Excel and you should see what\u2019s shown in the picture below.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nI\u2019ll call out two points.<\/p>\n\n\n\nThis is a new instance of Excel with an unsaved workbook. So, the focus is on Sheet1 of Book1.<\/p>\n\n\n\nThe second point is that \u201cHello World\u201d has been written into the first cell of the worksheet. That is exactly what we specified.<\/p>\n\n\n\nWe ran this flow without an action to close Excel. So the spreadsheet is left open for us to peruse. That\u2019s quite useful to check that we\u2019re on the right track.<\/p>\n\n\n\nBut we do want to save the spreadsheet. So, let\u2019s move on to add the final action.<\/p>\n\n\n\nSave and close the Excel file<\/h3>\n\n\n\nOur final step is to save and close the file.<\/p>\n\n\n\nYou\u2019ll see an action under the Excel category for both \u201cSave Excel\u201d and \u201cClose Excel\u201d.<\/p>\n\n\n\nWe could use both actions to save the spreadsheet first and then close it. But we can do what we need with a single action.<\/p>\n\n\n\nDrag and drop the \u201cClose Excel\u201d action into the Main flow.<\/em><\/strong><\/p>\n\n\n\nThe default parameters for this action are to close the spreadsheet without saving it. We want to change this!<\/p>\n\n\n\nExpand the dropdown for the closing parameter and switch to \u201cSave document as\u201d.<\/em><\/strong><\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nThis will open two new parameters. The first allows you to set the extension. You can leave it as the default.<\/p>\n\n\n\nThe second parameter lets you input a full file path and name (you don\u2019t need to include an extension).<\/p>\n\n\n\nI set my document path to: \u201cc:\\users\\public\\hello_world<\/strong>\u201d.<\/p>\n\n\n\nAnd that\u2019s it!<\/p>\n\n\n\n<\/span>What The Completed Flow Looks Like<\/span><\/h2>\n\n\n\nThis picture shows what your full flow should look like.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\n<\/span>Run The Full Flow<\/span><\/h2>\n\n\n\nWhen you click the run button, you\u2019ll be forgiven for wondering if anything has happened.<\/p>\n\n\n\nThis is because the Excel application has a very simple and quick task to perform before it closes itself. You may see the Excel icon appear in the taskbar at the bottom of Windows, but it will only be there for seconds.<\/p>\n\n\n\nTo verify that the flow has done what you expected, open the folder where you specified the file to be written.<\/p>\n\n\n\nThere should be an excel file with the name you specified in this folder. And its contents should contain the text \u201cHello World\u201d in the first cell.<\/p>\n","protected":false},"excerpt":{"rendered":"This quick tutorial shows you how to use Power Automate Desktop to create and save an Excel spreadsheet. You\u2019ll learn how to use Power Automate Desktop to: Launch Excel on your local machine Create a new Excel workbook Write content to a worksheet Close and save the Excel file to a specific location Prerequisites You … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655"}],"collection":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":4,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Launch Power Automate Desktop.<\/p>\n\n\n\n
Add a new flow by clicking on the + icon in the top left of the window. Name your flow \u201cexcel_hello_world\u201d and hit the Create button.<\/p>\n\n\n\n
The left pane of the Editor shows all the categories of actions available to you.<\/p>\n\n\n\n
You\u2019ll find \u201cExcel\u201d in the middle of the list. Expand the category to see individual actions for controlling Excel.<\/p>\n\n\n\n
We\u2019ll be using three actions in this starter project. I\u2019ve labeled them in order in the picture below.<\/p>\n\n\n\n
The first action we\u2019ll use is to launch Excel on your machine.<\/p>\n\n\n\n
This action will launch a new instance of Excel, regardless if you already have a spreadsheet already open or not.<\/p>\n\n\n\n
It\u2019ll be less confusing for you now if you close any instances of Excel that are currently running.<\/em><\/p>\n\n\n\nChoose \u201cLaunch Excel\u201d<\/h3>\n\n\n\nDrag and drop \u201cLaunch Excel\u201d into the Main window in the editor.<\/p>\n\n\n\nYou will see a pop-up window that allows you further control over when Excel opens. For our tutorial, leave all the defaults.<\/p>\n\n\n\nThis will result in Excel launching with a blank worksheet.<\/p>\n\n\n\nNow we want to do something useful with this worksheet.<\/p>\n\n\n\nWrite to the worksheet<\/h3>\n\n\n\nDrag and drop \u201cWrite to Excel worksheet\u201d into the editor as the next action.<\/p>\n\n\n\nWe\u2019re going to keep things simple in the pop-up window.<\/p>\n\n\n\nI simply want to write \u201cHello World\u201d into the first cell of the spreadsheet.<\/p>\n\n\n\nTo achieve this, type into three input boxes:<\/p>\n\n\n\nValue to write:<\/em> Hello World<\/li>Column:<\/em> 1<\/li>Row:<\/em> 1<\/li><\/ul>\n\n\n\nCheck the picture below to see exactly what we\u2019re putting where.<\/p>\n\n\n\nLeave the other input boxes unchanged and click the \u201cSave\u201d button.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nTesting what we\u2019ve got so far<\/h3>\n\n\n\nAt this point, you can test what you\u2019ve done so far by running the flow.<\/p>\n\n\n\nWhen you hit the play button in the top bar, keep an eye on the bottom taskbar in Windows. You\u2019ll see the Microsoft Excel icon appear, as it is launched by your flow.<\/p>\n\n\n\nUnless you quickly minimize the PAD editor, you may not see the flow actually writing on the spreadsheet.<\/p>\n\n\n\nBut you can switch from the editor to Excel and you should see what\u2019s shown in the picture below.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nI\u2019ll call out two points.<\/p>\n\n\n\nThis is a new instance of Excel with an unsaved workbook. So, the focus is on Sheet1 of Book1.<\/p>\n\n\n\nThe second point is that \u201cHello World\u201d has been written into the first cell of the worksheet. That is exactly what we specified.<\/p>\n\n\n\nWe ran this flow without an action to close Excel. So the spreadsheet is left open for us to peruse. That\u2019s quite useful to check that we\u2019re on the right track.<\/p>\n\n\n\nBut we do want to save the spreadsheet. So, let\u2019s move on to add the final action.<\/p>\n\n\n\nSave and close the Excel file<\/h3>\n\n\n\nOur final step is to save and close the file.<\/p>\n\n\n\nYou\u2019ll see an action under the Excel category for both \u201cSave Excel\u201d and \u201cClose Excel\u201d.<\/p>\n\n\n\nWe could use both actions to save the spreadsheet first and then close it. But we can do what we need with a single action.<\/p>\n\n\n\nDrag and drop the \u201cClose Excel\u201d action into the Main flow.<\/em><\/strong><\/p>\n\n\n\nThe default parameters for this action are to close the spreadsheet without saving it. We want to change this!<\/p>\n\n\n\nExpand the dropdown for the closing parameter and switch to \u201cSave document as\u201d.<\/em><\/strong><\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nThis will open two new parameters. The first allows you to set the extension. You can leave it as the default.<\/p>\n\n\n\nThe second parameter lets you input a full file path and name (you don\u2019t need to include an extension).<\/p>\n\n\n\nI set my document path to: \u201cc:\\users\\public\\hello_world<\/strong>\u201d.<\/p>\n\n\n\nAnd that\u2019s it!<\/p>\n\n\n\n<\/span>What The Completed Flow Looks Like<\/span><\/h2>\n\n\n\nThis picture shows what your full flow should look like.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\n<\/span>Run The Full Flow<\/span><\/h2>\n\n\n\nWhen you click the run button, you\u2019ll be forgiven for wondering if anything has happened.<\/p>\n\n\n\nThis is because the Excel application has a very simple and quick task to perform before it closes itself. You may see the Excel icon appear in the taskbar at the bottom of Windows, but it will only be there for seconds.<\/p>\n\n\n\nTo verify that the flow has done what you expected, open the folder where you specified the file to be written.<\/p>\n\n\n\nThere should be an excel file with the name you specified in this folder. And its contents should contain the text \u201cHello World\u201d in the first cell.<\/p>\n","protected":false},"excerpt":{"rendered":"This quick tutorial shows you how to use Power Automate Desktop to create and save an Excel spreadsheet. You\u2019ll learn how to use Power Automate Desktop to: Launch Excel on your local machine Create a new Excel workbook Write content to a worksheet Close and save the Excel file to a specific location Prerequisites You … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655"}],"collection":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":4,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Drag and drop \u201cLaunch Excel\u201d into the Main window in the editor.<\/p>\n\n\n\n
You will see a pop-up window that allows you further control over when Excel opens. For our tutorial, leave all the defaults.<\/p>\n\n\n\n
This will result in Excel launching with a blank worksheet.<\/p>\n\n\n\n
Now we want to do something useful with this worksheet.<\/p>\n\n\n\n
Drag and drop \u201cWrite to Excel worksheet\u201d into the editor as the next action.<\/p>\n\n\n\n
We\u2019re going to keep things simple in the pop-up window.<\/p>\n\n\n\n
I simply want to write \u201cHello World\u201d into the first cell of the spreadsheet.<\/p>\n\n\n\n
To achieve this, type into three input boxes:<\/p>\n\n\n\n
Check the picture below to see exactly what we\u2019re putting where.<\/p>\n\n\n\n
Leave the other input boxes unchanged and click the \u201cSave\u201d button.<\/p>\n\n\n\n
At this point, you can test what you\u2019ve done so far by running the flow.<\/p>\n\n\n\n
When you hit the play button in the top bar, keep an eye on the bottom taskbar in Windows. You\u2019ll see the Microsoft Excel icon appear, as it is launched by your flow.<\/p>\n\n\n\n
Unless you quickly minimize the PAD editor, you may not see the flow actually writing on the spreadsheet.<\/p>\n\n\n\n
But you can switch from the editor to Excel and you should see what\u2019s shown in the picture below.<\/p>\n\n\n\n
I\u2019ll call out two points.<\/p>\n\n\n\n
This is a new instance of Excel with an unsaved workbook. So, the focus is on Sheet1 of Book1.<\/p>\n\n\n\n
The second point is that \u201cHello World\u201d has been written into the first cell of the worksheet. That is exactly what we specified.<\/p>\n\n\n\n
We ran this flow without an action to close Excel. So the spreadsheet is left open for us to peruse. That\u2019s quite useful to check that we\u2019re on the right track.<\/p>\n\n\n\n
But we do want to save the spreadsheet. So, let\u2019s move on to add the final action.<\/p>\n\n\n\n
Our final step is to save and close the file.<\/p>\n\n\n\n
You\u2019ll see an action under the Excel category for both \u201cSave Excel\u201d and \u201cClose Excel\u201d.<\/p>\n\n\n\n
We could use both actions to save the spreadsheet first and then close it. But we can do what we need with a single action.<\/p>\n\n\n\n
Drag and drop the \u201cClose Excel\u201d action into the Main flow.<\/em><\/strong><\/p>\n\n\n\nThe default parameters for this action are to close the spreadsheet without saving it. We want to change this!<\/p>\n\n\n\nExpand the dropdown for the closing parameter and switch to \u201cSave document as\u201d.<\/em><\/strong><\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nThis will open two new parameters. The first allows you to set the extension. You can leave it as the default.<\/p>\n\n\n\nThe second parameter lets you input a full file path and name (you don\u2019t need to include an extension).<\/p>\n\n\n\nI set my document path to: \u201cc:\\users\\public\\hello_world<\/strong>\u201d.<\/p>\n\n\n\nAnd that\u2019s it!<\/p>\n\n\n\n<\/span>What The Completed Flow Looks Like<\/span><\/h2>\n\n\n\nThis picture shows what your full flow should look like.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\n<\/span>Run The Full Flow<\/span><\/h2>\n\n\n\nWhen you click the run button, you\u2019ll be forgiven for wondering if anything has happened.<\/p>\n\n\n\nThis is because the Excel application has a very simple and quick task to perform before it closes itself. You may see the Excel icon appear in the taskbar at the bottom of Windows, but it will only be there for seconds.<\/p>\n\n\n\nTo verify that the flow has done what you expected, open the folder where you specified the file to be written.<\/p>\n\n\n\nThere should be an excel file with the name you specified in this folder. And its contents should contain the text \u201cHello World\u201d in the first cell.<\/p>\n","protected":false},"excerpt":{"rendered":"This quick tutorial shows you how to use Power Automate Desktop to create and save an Excel spreadsheet. You\u2019ll learn how to use Power Automate Desktop to: Launch Excel on your local machine Create a new Excel workbook Write content to a worksheet Close and save the Excel file to a specific location Prerequisites You … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655"}],"collection":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":4,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
The default parameters for this action are to close the spreadsheet without saving it. We want to change this!<\/p>\n\n\n\n
Expand the dropdown for the closing parameter and switch to \u201cSave document as\u201d.<\/em><\/strong><\/p>\n\n\n\n<\/figure><\/div>\n\n\n\nThis will open two new parameters. The first allows you to set the extension. You can leave it as the default.<\/p>\n\n\n\nThe second parameter lets you input a full file path and name (you don\u2019t need to include an extension).<\/p>\n\n\n\nI set my document path to: \u201cc:\\users\\public\\hello_world<\/strong>\u201d.<\/p>\n\n\n\nAnd that\u2019s it!<\/p>\n\n\n\n<\/span>What The Completed Flow Looks Like<\/span><\/h2>\n\n\n\nThis picture shows what your full flow should look like.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\n<\/span>Run The Full Flow<\/span><\/h2>\n\n\n\nWhen you click the run button, you\u2019ll be forgiven for wondering if anything has happened.<\/p>\n\n\n\nThis is because the Excel application has a very simple and quick task to perform before it closes itself. You may see the Excel icon appear in the taskbar at the bottom of Windows, but it will only be there for seconds.<\/p>\n\n\n\nTo verify that the flow has done what you expected, open the folder where you specified the file to be written.<\/p>\n\n\n\nThere should be an excel file with the name you specified in this folder. And its contents should contain the text \u201cHello World\u201d in the first cell.<\/p>\n","protected":false},"excerpt":{"rendered":"This quick tutorial shows you how to use Power Automate Desktop to create and save an Excel spreadsheet. You\u2019ll learn how to use Power Automate Desktop to: Launch Excel on your local machine Create a new Excel workbook Write content to a worksheet Close and save the Excel file to a specific location Prerequisites You … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655"}],"collection":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":4,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
This will open two new parameters. The first allows you to set the extension. You can leave it as the default.<\/p>\n\n\n\n
The second parameter lets you input a full file path and name (you don\u2019t need to include an extension).<\/p>\n\n\n\n
I set my document path to: \u201cc:\\users\\public\\hello_world<\/strong>\u201d.<\/p>\n\n\n\nAnd that\u2019s it!<\/p>\n\n\n\n<\/span>What The Completed Flow Looks Like<\/span><\/h2>\n\n\n\nThis picture shows what your full flow should look like.<\/p>\n\n\n\n<\/figure><\/div>\n\n\n\n<\/span>Run The Full Flow<\/span><\/h2>\n\n\n\nWhen you click the run button, you\u2019ll be forgiven for wondering if anything has happened.<\/p>\n\n\n\nThis is because the Excel application has a very simple and quick task to perform before it closes itself. You may see the Excel icon appear in the taskbar at the bottom of Windows, but it will only be there for seconds.<\/p>\n\n\n\nTo verify that the flow has done what you expected, open the folder where you specified the file to be written.<\/p>\n\n\n\nThere should be an excel file with the name you specified in this folder. And its contents should contain the text \u201cHello World\u201d in the first cell.<\/p>\n","protected":false},"excerpt":{"rendered":"This quick tutorial shows you how to use Power Automate Desktop to create and save an Excel spreadsheet. You\u2019ll learn how to use Power Automate Desktop to: Launch Excel on your local machine Create a new Excel workbook Write content to a worksheet Close and save the Excel file to a specific location Prerequisites You … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655"}],"collection":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":4,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
And that\u2019s it!<\/p>\n\n\n\n
This picture shows what your full flow should look like.<\/p>\n\n\n\n
When you click the run button, you\u2019ll be forgiven for wondering if anything has happened.<\/p>\n\n\n\n
This is because the Excel application has a very simple and quick task to perform before it closes itself. You may see the Excel icon appear in the taskbar at the bottom of Windows, but it will only be there for seconds.<\/p>\n\n\n\n
To verify that the flow has done what you expected, open the folder where you specified the file to be written.<\/p>\n\n\n\n
There should be an excel file with the name you specified in this folder. And its contents should contain the text \u201cHello World\u201d in the first cell.<\/p>\n","protected":false},"excerpt":{"rendered":"
This quick tutorial shows you how to use Power Automate Desktop to create and save an Excel spreadsheet. You\u2019ll learn how to use Power Automate Desktop to: Launch Excel on your local machine Create a new Excel workbook Write content to a worksheet Close and save the Excel file to a specific location Prerequisites You … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655"}],"collection":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":4,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/posts\/655\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bandittracker.com\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}