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

dataHierarchies in pivot table cannot call numberFormat function. #885

Open
JerryXBear opened this issue Apr 28, 2021 · 2 comments
Open
Labels
office-js Issue with office-js platform - NOT Script Lab

Comments

@JerryXBear
Copy link

Description:

I need to know if I can change the number format in my pivot table using script lab. I tried to change the number format for my column in pivot table, doesn't work and throw an error.

by the way, I checked the number format in "Excel.DataPivotHierarchy class" document. There is no example or clear explanations to tell me how to use the property, so I log it out on my console and change the keyword from "General" to "Percentage". doesn't work.

Screenshot(s):

image

@chenxizhang
Copy link

Please share you sample data and completed code here, if the issue still there

@wandyezj wandyezj added the office-js Issue with office-js platform - NOT Script Lab label Apr 4, 2024
@wandyezj
Copy link
Member

wandyezj commented Apr 4, 2024

This is a great question for Stack Overflow with the office-js tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
office-js Issue with office-js platform - NOT Script Lab
Projects
None yet
Development

No branches or pull requests

3 participants