Automating Excel tasks to come to Windows and Mac
- Reference: 1663084867
- News link: https://www.theregister.co.uk/2022/09/13/microsoft_excel_automate_tasks_windows_mac/
- Source link:
According to new entries in the [1]Microsoft 365 roadmap , starting in October, users will be able create, edit, and run Office Scripts to automate these tasks using the Code Editor and All Scripts taskplane.
As with any software, the goal of automating tasks in Excel is to improve productivity, not only for the individual user but for others throughout the Microsoft 365 world. Theoretically, the automation done by one user can be used by others, though everyone has their preferred way of doing things.
[2]
Users can record what they've done with Action Recorder, which creates a TypeScript language script that can be run again whenever it's needed. Scripts created and edited with the Code Editor can then be shared across the organization, enabling coworkers to automate their workflows, according to a Microsoft online [3]document about Office Scripts.
[4]
[5]
"Scripts allow you to record and replay your Excel actions on different workbooks and worksheets," according to Microsoft. "If you find yourself doing the same things over and over again, you can turn all that work into an easy-to-run Office Script. Run your script with a button-press in Excel or combine it with Power Automate to streamline your entire workflow."
Enabling Office Scripts for Excel in Windows and Mac systems is one of a number of efforts that Microsoft is pushing in the hopes of expanding the reach and utility of the spreadsheet software, which has more than [6]750 million users .
[7]
Microsoft is also allowing users to easily insert an image from the Data tab into the Excel cells, giving them another way of presenting data, and next month will enable users to use @mentions in the comments section to create, assign, and track tasks within their workbooks.
All this comes days after Microsoft announced the [8]public preview of Excel Live support in the vendor's Teams collaboration platform.
This summer, Microsoft introduced the idea of bringing Excel into the Teams universe, part of a larger strategy to add functions to Teams to enable greater collaboration in the wake of the COVID-19 pandemic pushing most workers out of the office for more than a year and into their homes or other remote sites.
[9]
The sudden switch to remote work fueled ushered in a much larger hybrid workforce, which widens the net for Microsoft.
In 2021, Microsoft introduced PowerPoint Live, bringing the presentation software to Teams meetings, followed by the announcement this year at Microsoft Build of the public preview of Live Share, which focused on developers hoping to use third-party apps and participants to watch, edit, and create collaboratively in Teams.
[10]Excel @ mentions approach general availability on the desktop
[11]There can be only one... Microsoft Excel Champion
[12]LibreOffice improves Microsoft compatibility with version 7.4
[13]Microsoft: Outlook desktop app crashing due to missing identity setting
"Until now, sharing spreadsheets within a Teams meeting has been a fairly one-sided experience," Meenakshi Bhatia-Naren, principal product manager at Microsoft, wrote in a [14]blog post at the time. "You share a file, and everyone else watches while you make the updates. But what if your group could use that meeting time to get the work done together?"
Being able to do this will enable Teams participants to work together on Excel workbooks in real time, Bhatia-Naren wrote.
Microsoft announced the public preview of Excel Live in Teams last week. ®
Get our [15]Tech Resources
[1] https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=Excel
[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YyD9dbTHWtirb@Gv3EEQfAAAAFg&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[3] https://docs.microsoft.com/en-us/office/dev/scripts/overview/excel
[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YyD9dbTHWtirb@Gv3EEQfAAAAFg&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YyD9dbTHWtirb@Gv3EEQfAAAAFg&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[6] https://www.investintech.com/resources/blog/archives/5718-experts-predict-the-future-of-excel-in-business-intelligence.html#:~:text=With%20over%20750%20million%20users,for%20presenting%20and%20analyzing%20data.
[7] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YyD9dbTHWtirb@Gv3EEQfAAAAFg&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[8] https://techcommunity.microsoft.com/t5/microsoft-teams-public-preview/now-in-public-preview-collaborate-in-teams-meetings-with-excel/m-p/3620853
[9] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YyD9dbTHWtirb@Gv3EEQfAAAAFg&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[10] https://www.theregister.com/2022/08/17/microsoft_excel_at_mentions/
[11] https://www.theregister.com/2022/08/11/excel_esports/
[12] https://www.theregister.com/2022/08/19/libreoffice_7_4/
[13] https://www.theregister.com/2022/08/12/outlook_crash/
[14] https://techcommunity.microsoft.com/t5/microsoft-365-blog/announcing-excel-live-transform-microsoft-teams-meetings-with/ba-p/3573371
[15] https://whitepapers.theregister.com/
VBA was lasted updated in 2012. That was just a partial port to 64 bit. The last real update was in 2007.
I think we can officially call it abandonware now.
2007 is much more recent than the last update to many components in the NT kernel. Can we not call that abandoned now?
I can write Powershell scripts against anything that offers either an OLE Automation interface or a .NET assembly. PS has certainly been updated since 2012.
wtf?!
The 1980s called. They want their version of Excel back.
Re: wtf?!
Clearly Excel is Microsoft's implementation of the metaverse.
Re: wtf?!
Excel was released in 1989 and v1.0 did not include any scripting language or integration with comms software that did not exist for an Internet no-one outside of a few Universities and IT companies had heard of.
So what could possibly be your point?
Re: wtf?!
I stand corrected. Apparently 1993 (v5) is when Excel acquired a scripting language.
However, I do take issue with your implication that internet integration is required for it to be a fair comparison. Cloudy Excel only needs internet-ready scripting because some doofus has chosen to put an internet between the script and the spreadsheet. This is re-inventing something that we already had, to solve a problem that most of us didn't ask to be created.
Re: wtf?!
Excel had a scripting language. You put Excel commands in cells in a spreadsheet, and ran that script.
Excel scripting was replaced with VBA, and the ability to create script sheets was removed, but Excel still had the ability to run script sheets for many years after that. Dunno if that is still supported or not in the desktop version: It's not in the online version.
Re: wtf?!
Odd that. I distinctly remember using Excel in 1987, when it included an embedded version of Windows 2 runtime.
I don't recall whether it had any scripting language or the other stuff you mention. It certainly had a macro language, which it would have required to possess any kind of relevance at all against Lotus 1-2-3.
-A.
I remember writing excel macros in 1987
Back then it was only available on a macintosh, but it had XLM "script sheets"
Nothing new here, when you can code and use functions in a sheet it'll be an alternative to VBA
What Could Possibly Go Wrong?
See title.
Really helpful of Microsoft
.. to introduce even more attack vectors to their products.
Well done. Kind regards from every criminal hacker out there.
Install(Malware.payload)
ShowMessage "All done!"
Re: Users can record what they've done with Action Recorder, which creates a TypeScript language script that can be run again whenever it's needed. Scripts created and edited with the Code Editor can then be shared across the organization, enabling coworkers to automate their workflows, according to a Microsoft online document about Office Scripts.
"A macro by any other name..."
Finally! A new kind of relational database is on the way! There will no longer be manually annotated and selected records in this database, like SQL, all records will be annotated and linked automatically. No more tables and rows! Search queries will also be compiled automatically.
VB by a different name?
This sounds very similar to what I've been doing for many years.
What makes it different?
Re: VB by a different name?
Oh, this is way better. In VBA you had to code the bugs yourself. With OfficeScript you will be able to download them from GitHub.
Am I missing something?
Isn’t this just Macros? Macros you can download, replete with malware.
Will it be less crashy on Mac this time?
Vba macros on Mac worked… but had a tendency to be very crashy compared to the windows version….
For anyone that does VBA and has recorded a macro.
Activecell.Offset