Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetValue with empty string produce zero value in cell #1565

Open
1 task done
joselmm opened this issue Apr 29, 2024 · 0 comments
Open
1 task done

SetValue with empty string produce zero value in cell #1565

joselmm opened this issue Apr 29, 2024 · 0 comments
Assignees

Comments

@joselmm
Copy link

joselmm commented Apr 29, 2024

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System

Windows 10 / 8.1 / 7

Version information

version 8.0.1.31 (x64 exe)

Expected Behavior

I expect the cell value to be "" (without any value) after executing the macro code

Actual Behavior

The cell value is 0 after executing the code.
Video_1714387721

Reproduction Steps

Create a macro with the code:

(function() { var range = Api.GetActiveSheet().GetSelection(); range.SetValue(""); })();

Additional information

The same problem happens in docs space, i found this issue here too: https://forum.onlyoffice.com/t/setvalue-with-empty-string-produce-zero-value-in-cell/5224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants