Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While formulas are definitely code in a general sense, 'code' the Excel-verse generally refers to VBA code embedded in the workbook.

VBA's potential as an attack vector results in it being unavailable or heavily restricted in many corporate environments through stuff like Group Policies[1]. And I've worked with some clients whose IT goes a step further and completely blocks sending or receiving emails with .xlsm[2] attachments.

Since lambda-defined logic is all formula-based, it's not considered 'code' in that sense and can be used and passed around as a standard Excel file without any of the VBA-oriented restrictions. So you can approach your Excel workbook more like a programming project, centrally defining your complex logic once and referencing it elsewhere every time you want to use it. This is super helpful for audibility and maintenance, while staying within the bounds of what'll be applicable/usable across any Excel environment.

[1] https://4sysops.com/archives/restricting-or-blocking-office-...

[2] .xlsm is the extension Excel uses for spreadsheets containing VBA code



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: