Posts

Post not yet marked as solved
1 Replies
1.8k Views
How to set the format of range in JXA like the following AppleScript code?tell application "Numbers" activate tell document 1 tell active sheet tell table 1 set the format of range "A2:B2" to currency end tell end tell end tell end tellI can't find the documentation related to enumeration in JXA. The format property is enumeration. table.ranges["A2:B2"].format = "currency";This code will trigger error (invalid format value).
Posted Last updated
.