Comments (6)
Hi @didu9898 Thanks for reporting this issue. But I can't repro your problem, for my side, the behavior is similar in excel web and excel desktop. They all show "null" on console log, and show "0" as result.
Desktop:
Online:
My excel desktop version is :
for web, you can check if your custom function is registered successfully. Thanks.
{
"functions": [
{
"description": "Check param value if empty cell is passed as param.",
"id": "BLANKSNIPPET1.CHECKPARAM",
"name": "BLANKSNIPPET1.CHECKPARAM",
"parameters": [
{
"name": "param",
"type": "any"
}
],
"result": {}
},
{
"description": "Check param value if empty cell is passed as param.",
"id": "BLANKSNIPPET.CHECKPARAM",
"name": "BLANKSNIPPET.CHECKPARAM",
"parameters": [
{
"name": "param",
"type": "any"
}
],
"result": {}
}
],
"allowCustomDataForDataTypeAny": true
}
from office-js.
I checked and the custom function is registered successfully.
I checked with my colleagues, they also are experiencing similar behavior i.e. 0 in desktop and null in web.
from office-js.
Can you please share screenshot with the cell formulas too?
from office-js.
Desktop:=SCRIPTLAB.BLANKSNIPPET.CHECKPARAM(A1)
Web:=SCRIPTLAB.BLANKSNIPPET.CHECKPARAM(A1)
Hi @didu9898 seem our excel version is different, I'll check with my colleagues, too. Or I'm not sure if you can update a new version?
from office-js.
Hi @didu9898 , thank you for pointing this out. This change is part of a recent improvement we implemented to address feedback from customers who wanted a way to differentiate between empty cells and cells containing the number "0" in custom functions.
This update has been fully deployed to Excel Online and is available in the Win32 version starting from build 17723.20000. This explains the discrepancy you're observing. For users on the Monthly Enterprise Channel, this feature should be available before mid-August.
Please let us know if you have any further concerns or questions. Thank you.
from office-js.
@MiaofeiWang thank you for informing about the upcoming update.
from office-js.
Related Issues (20)
- Admin-managed Add-in is *missing* on Outlook for Mac but it is available on Windows and web client HOT 5
- OfficeRuntime.auth.getAccessToken() throws an error on Firefox browser windows 64 bit HOT 3
- Issue with Displaying Drafts with Many Attachments in Outlook Web HOT 4
- Open file larger than 4 mb in online web word HOT 6
- Numbering Styles do not work on WOPI host (CSPP) HOT 9
- Deleted attachment data is shown in the Office API getAttachmentsAsync request HOT 3
- Office theme colors missing or shifted HOT 4
- How to Generate an Email with a Different ‘From’ Address in Office.js and Graph API HOT 3
- Office.context.mailbox.item properties are null in Desktop version for recurring events HOT 10
- CRITICAL: No add-ins available in Outlook HOT 5
- Web add-in not loading in old Outlook windows version HOT 9
- Questions about add-in behavior of shared mailboxes HOT 10
- On-Send web addin does not load when new file is created from group HOT 4
- Word web is freezing after executing body.clear() HOT 5
- Closing Smart Alerts dialog does not open specified task pane in Outlook on web. HOT 5
- Legacy Outlook users see 'add-in is unavailable' sporadically with usage
- OnMessageAttachmentsChanged event doesn't get called for each attachment when multiple attachments added to email HOT 1
- Outlook NAA GA questions: Enable SSO in an Office Add-in using nested app authentication (preview) HOT 4
- Issues sending mail in Outlook for Mac 16.87+ HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.