Closed mjrforce closed 5 years ago
I cannot reproduce this issue. What version/build of Excel are you using when you see this issue?
Hello @mjrforce, it would be helpful if you could share us more information to repro this issue.
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!
This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.
Running the sample code produces the following error:
InvalidArgument: The argument is invalid or missing or has an incorrect format.
Expected Behavior
The selected cell should be returned
Current Behavior
Steps to Reproduce, or Live Example
name: Basic API call (TypeScript) description: Performs a basic Excel API call using TypeScript. host: EXCEL api_set: {} script: content: | $("#run").click(() => tryCatch(run));
language: typescript template: content: |-
This sample demonstrates basic Excel API calls.
language: html style: content: |- section.samples { margin-top: 20px; }
language: css libraries: | https://appsforoffice.microsoft.com/lib/1/hosted/office.js @types/office-js
office-ui-fabric-js@1.4.0/dist/css/fabric.min.css office-ui-fabric-js@1.4.0/dist/css/fabric.components.min.css
core-js@2.4.1/client/core.min.js @types/core-js
@microsoft/office-js-helpers@0.7.4/dist/office.helpers.min.js @microsoft/office-js-helpers@0.7.4/dist/office.helpers.d.ts
jquery@3.1.1 @types/jquery@3.3.1
Context
Your Environment
Useful logs
[ ] Test file (if only happens on a particular file)
{ "code": "InvalidArgument", "message": "The argument is invalid or missing or has an incorrect format.", "errorLocation": "" }