News: 1663084867

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Automating Excel tasks to come to Windows and Mac

(2022/09/13)


Users running Excel on either Windows or Mac PCs will soon be able to automate many of the now-manual tasks in their spreadsheet software, something that currently is only available to those using the web application.

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/



Anonymous Coward

For anyone that does VBA and has recorded a macro.

Activecell.Offset

katrinab

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.

karlkarl

2007 is much more recent than the last update to many components in the NT kernel. Can we not call that abandoned now?

Ken Hagan

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?!

Ken Hagan

The 1980s called. They want their version of Excel back.

Re: wtf?!

yetanotheraoc

Clearly Excel is Microsoft's implementation of the metaverse.

Re: wtf?!

iron

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?!

Ken Hagan

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?!

david 12

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?!

captain veg

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

Steve Channell

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?

Headley_Grange

See title.

Really helpful of Microsoft

Anonymous Coward

.. to introduce even more attack vectors to their products.

Well done. Kind regards from every criminal hacker out there.

fidodogbreath

Install(Malware.payload)

ShowMessage "All done!"

MiguelC

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..."

Il'Geller

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?

AlanSh

This sounds very similar to what I've been doing for many years.

What makes it different?

Re: VB by a different name?

yetanotheraoc

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?

anthonyhegedus

Isn’t this just Macros? Macros you can download, replete with malware.

Will it be less crashy on Mac this time?

bpfh

Vba macros on Mac worked… but had a tendency to be very crashy compared to the windows version….

Brief History Of Linux (#22)

RMS had a horrible, terrible dream set in 2020 in which all of society was
held captive by copyright law. In particular, everyone's brain waves were
monitored by the US Dept. of Copyrights. If your thoughts referenced a
copyrighted idea, you had to pay a royalty. To make it worse, a handful of
corporations held fully 99.9% of all intellectual property rights.

Coincidentally, Bill Gates experienced a similar dream that same night. To
him, however, it was not a horrible, terrible nightmare, but a wonderful
utopian vision. The thought of lemmings... er, customers paying a royalty
everytime they hummed a copyrighted song in their head or remembered a
passage in a book was simply too marvelous for the budding monopolist.

RMS, waking up from his nightmare, vowed to fight the oncoming Copyright
Nightmare. The GNU Project was born. His plan called for a kernel,
compiler, editor, and other tools. Unfortunately, RMS became bogged down
with Emacs that the kernel, HURD, was shoved on the back burner. Built
with LISP (Lots of Incomprehensible Statements with Parentheses), Emacs
became bloated in a way no non-Microsoft program ever has. Indeed, for a
short while RMS pretended that Emacs really was the GNU OS kernel.