OfficeDev / office-js-docs

[ARCHIVED] Microsoft Office Add-ins API Reference Documentation
https://docs.microsoft.com/javascript/api/overview/office
398 stars 247 forks source link

delete() method‘s param is neccesary in Range. #1468

Closed hengchengfei closed 6 years ago

hengchengfei commented 6 years ago

Article URL

https://dev.office.com/reference/add-ins/excel/range

Issue

Range#Delete Method.

1

There is likely an error in The Examples about Delete Method,.

range.delete();

I test it , the delete method's param is neccesary.

range.delete("Left");
//or
range.delete("Up");

No param Errors:

2
Rick-Kirkham commented 6 years ago

@hengchengfei Thanks. I've fixed this in the source file for the code example. Because we are currently transitioning to a new system for generating our API reference, it may be a few weeks before the fix is in the published version of the reference article.