-
Notifications
You must be signed in to change notification settings - Fork 132
Expand file tree
/
Copy pathexcel.yaml
More file actions
1463 lines (1463 loc) · 55.3 KB
/
Copy pathexcel.yaml
File metadata and controls
1463 lines (1463 loc) · 55.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
- id: excel-basics-basic-api-call
name: Basic API call (TypeScript)
fileName: basic-api-call.yaml
description: Performs a basic Excel API call using TypeScript.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/01-basics/basic-api-call.yaml
group: Basics
api_set:
ExcelApi: '1.1'
- id: excel-basics-basic-api-call-es5
name: Basic API call (JavaScript)
fileName: basic-api-call-es5.yaml
description: Performs a basic Excel API call using plain JavaScript & Promises.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/01-basics/basic-api-call-es5.yaml
group: Basics
api_set:
ExcelApi: '1.1'
- id: excel-basics-basic-common-api-call
name: Basic API call (Office 2013)
fileName: basic-common-api-call.yaml
description: >-
Performs a basic Excel API call using JavaScript with the "common API"
syntax (compatible with Office 2013).
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/01-basics/basic-common-api-call.yaml
group: Basics
api_set:
Selection: 1.1
- id: excel-chart-axis
name: Axis details
fileName: chart-axis.yaml
description: Gets, sets, and removes axis unit, label, and title in a chart.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-axis.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-axis-formatting
name: Axis formatting
fileName: chart-axis-formatting.yaml
description: Formats the vertical and horizontal axes in a chart.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-axis-formatting.yaml
group: Chart
api_set:
ExcelApi: '1.8'
- id: excel-chart-data-table
name: Chart data table
fileName: chart-data-table.yaml
description: Add a data table to a chart and then format that data table.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-data-table.yaml
group: Chart
api_set:
ExcelApi: '1.14'
- id: excel-chart-bubble-chart
name: Create bubble chart
fileName: chart-bubble-chart.yaml
description: >-
Creates a bubble chart with each data row represented as a single chart
series (bubble).
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-bubble-chart.yaml
group: Chart
api_set:
ExcelApi: '1.12'
- id: excel-chart-create-several-charts
name: Create charts
fileName: chart-create-several-charts.yaml
description: >-
Creates column-clustered, line, XY-scatter, area, radar, pie, 3D, cylinder,
and 100% charts.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-create-several-charts.yaml
group: Chart
api_set:
ExcelApi: '1.4'
- id: excel-chart-create-doughnut-chart
name: Doughnut chart
fileName: create-doughnut-chart.yaml
description: Creates a doughnut chart and adjusts its size.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/create-doughnut-chart.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-formatting
name: Formatting
fileName: chart-formatting.yaml
description: Formats labels and lines of a slope chart.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-formatting.yaml
group: Chart
api_set:
ExcelApi: '1.8'
- id: excel-chart-legend
name: Legend
fileName: chart-legend.yaml
description: Formats the legend's font.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-legend.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-point
name: Points
fileName: chart-point.yaml
description: Sets the color of a point on the chart.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-point.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-series
name: Series
fileName: chart-series.yaml
description: Adds and deletes series in a chart.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-series.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-series-markers
name: Series markers
fileName: chart-series-markers.yaml
description: Sets the chart series marker properties.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-series-markers.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-series-plotorder
name: Series plot order
fileName: chart-series-plotorder.yaml
description: Orders the plotting of series in a chart.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-series-plotorder.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-title-format
name: Title format
fileName: chart-title-format.yaml
description: Adjust a chart title's format.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-title-format.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-data-source
name: Chart series data source
fileName: chart-data-source.yaml
description: >-
This sample shows how to get information about the data source of a chart
series.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-data-source.yaml
group: Chart
api_set:
ExcelApi: '1.15'
- id: excel-chart-trendlines
name: Trendlines
fileName: chart-trendlines.yaml
description: Adds, gets, and formats trendlines in a chart.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-trendlines.yaml
group: Chart
api_set:
ExcelApi: '1.7'
- id: excel-chart-data-labels
name: Data labels
fileName: chart-data-labels.yaml
description: Add and style data labels for your charts.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-data-labels.yaml
group: Chart
api_set:
ExcelApi: '1.19'
- id: excel-chart-leader-lines
name: Leader lines
fileName: chart-leader-lines.yaml
description: Show and hide leader lines for chart labels.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/10-chart/chart-leader-lines.yaml
group: Chart
api_set:
ExcelApi: '1.19'
- id: excel-comment-basics
name: Comment basics
fileName: comment-basics.yaml
description: Adds, edits, and removes comments.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/12-comments-and-notes/comment-basics.yaml
group: Comments And Notes
api_set:
ExcelApi: '1.10'
- id: excel-comment-mentions
name: Comment mentions
fileName: comment-mentions.yaml
description: Mentions someone in a comment.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/12-comments-and-notes/comment-mentions.yaml
group: Comments And Notes
api_set:
ExcelApi: '1.11'
- id: excel-comment-replies
name: Comment replies
fileName: comment-replies.yaml
description: Adds, edits, and removes comment replies.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/12-comments-and-notes/comment-replies.yaml
group: Comments And Notes
api_set:
ExcelApi: '1.10'
- id: excel-comment-resolution
name: Comment resolution
fileName: comment-resolution.yaml
description: Resolves and reopens a comment thread.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/12-comments-and-notes/comment-resolution.yaml
group: Comments And Notes
api_set:
ExcelApi: '1.10'
- id: excel-note-basics
name: Notes
fileName: excel-note-basics.yaml
description: Adds, edits, and removes notes.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/12-comments-and-notes/excel-note-basics.yaml
group: Comments And Notes
api_set:
ExcelApi: '1.18'
- id: excel-range-conditional-formatting-basic
name: Basic conditional formatting
fileName: conditional-formatting-basic.yaml
description: Applies common types of conditional formatting to ranges.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/14-conditional-formatting/conditional-formatting-basic.yaml
group: Conditional Formatting
api_set:
ExcelApi: '1.6'
- id: excel-range-conditional-formatting-advanced
name: Advanced conditional formatting
fileName: conditional-formatting-advanced.yaml
description: Applies more than one conditional format on the same range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/14-conditional-formatting/conditional-formatting-advanced.yaml
group: Conditional Formatting
api_set:
ExcelApi: '1.6'
- id: excel-custom-functions-basic
name: Basic custom function
fileName: basic-function.yaml
description: Calculates the volume of a sphere.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/16-custom-functions/basic-function.yaml
group: Custom Functions
api_set:
CustomFunctionsRuntime: 1.1
- id: excel-custom-functions-volatile
name: Volatile function
fileName: volatile-function.yaml
description: Rolls a 6 sided die that returns a possible new value every calculation.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/16-custom-functions/volatile-function.yaml
group: Custom Functions
api_set:
CustomFunctionsRuntime: 1.1
- id: excel-custom-functions-streaming
name: Streaming function
fileName: streaming-function.yaml
description: A streaming function that continuously increments the cell value.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/16-custom-functions/streaming-function.yaml
group: Custom Functions
api_set:
CustomFunctionsRuntime: 1.1
- id: excel-custom-functions-invocation-address
name: Invocation address sample
fileName: invocation-address.yaml
description: Reference the custom function's cell location to adjust behavior.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/16-custom-functions/invocation-address.yaml
group: Custom Functions
api_set:
CustomFunctionsRuntime: 1.5
- id: excel-custom-functions-web-call
name: Web request to GitHub API
fileName: web-call-function.yaml
description: Calls the GitHub API to get the star count for an org/user and repository.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/16-custom-functions/web-call-function.yaml
group: Custom Functions
api_set:
CustomFunctionsRuntime: 1.1
- id: excel-custom-functions-errors
name: Custom functions errors
fileName: custom-functions-errors.yaml
description: Returns the "#NUM!" error as part of a 2-dimensional array.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/16-custom-functions/custom-functions-errors.yaml
group: Custom Functions
api_set:
CustomFunctionsRuntime: 1.2
- id: excel-data-types-custom-functions
name: 'Data types: Custom functions'
fileName: data-types-custom-functions.yaml
description: >-
This sample shows how to write custom functions that return entity value
data types.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/16-custom-functions/data-types-custom-functions.yaml
group: Custom Functions
api_set:
CustomFunctionsRuntime: 1.4
- id: excel-custom-functions-custom-enum
name: Function with custom enums
fileName: custom-enum.yaml
description: >-
Use custom enums as parameters in a custom function that searches for
flights.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/16-custom-functions/custom-enum.yaml
group: Custom Functions
api_set:
CustomFunctionsRuntime: 1.5
- id: excel-custom-xml-parts-create-set-get-and-delete-custom-xml-parts
name: Using custom XML parts
fileName: create-set-get-and-delete-custom-xml-parts.yaml
description: Creates, sets, gets, and deletes a custom XML part.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/18-custom-xml-parts/create-set-get-and-delete-custom-xml-parts.yaml
group: Custom XML Parts
api_set:
ExcelApi: '1.5'
- id: excel-custom-xml-parts-test-xml-for-unique-namespace
name: Unique namespaces in custom XML
fileName: test-xml-for-unique-namespace.yaml
description: Tests to see if there is only one XML part for a specified namespace.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/18-custom-xml-parts/test-xml-for-unique-namespace.yaml
group: Custom XML Parts
api_set:
ExcelApi: '1.5'
- id: excel-data-types-doubles
name: 'Data types: Formatted numbers'
fileName: data-types-formatted-number.yaml
description: >-
This sample shows how to set and get formatted numbers using double data
types.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/20-data-types/data-types-formatted-number.yaml
group: Data Types
api_set:
ExcelApi: '1.16'
- id: excel-data-types-web-image
name: 'Data types: Web images'
fileName: data-types-web-image.yaml
description: >-
This sample shows how to set and get web images in a worksheet using data
types.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/20-data-types/data-types-web-image.yaml
group: Data Types
api_set:
ExcelApi: '1.16'
- id: excel-data-types-entity-values
name: 'Data types: Create entity cards from data in a table'
fileName: data-types-entity-values.yaml
description: >-
This sample shows how to create entity cards for each row in a table. An
entity is a container for data types, similar to an object in
object-oriented programming.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/20-data-types/data-types-entity-values.yaml
group: Data Types
api_set:
ExcelApi: '1.16'
- id: excel-data-types-error-values
name: 'Data types: Set and change error values'
fileName: data-types-error-values.yaml
description: >-
This sample shows how to set a cell value to an error data type, and then
update the value of cells that contain an error data type.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/20-data-types/data-types-error-values.yaml
group: Data Types
api_set:
ExcelApi: '1.16'
- id: excel-data-types-icons
name: 'Data types: Create entity icons'
fileName: data-types-entity-icons.yaml
description: Display all the icons available for entity data types.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/20-data-types/data-types-entity-icons.yaml
group: Data Types
api_set:
ExcelApi: '1.16'
- id: excel-data-types-entity-attribution
name: 'Data types: Entity card attributions and layout types'
fileName: data-types-entity-attribution.yaml
description: >-
Set data provider attributions on entity values and use different card
layout types including list, two-column, and table.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/20-data-types/data-types-entity-attribution.yaml
group: Data Types
api_set:
ExcelApi: '1.19'
- id: excel-data-types-references
name: 'Data types: Entity values with references'
fileName: data-types-references.yaml
description: >-
This sample shows how to create entity values with references to other
entity values. An entity value is a container for data, and this container
can reference (or contain) other entities within the original entity. One
entity can contain multiple additional entities.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/20-data-types/data-types-references.yaml
group: Data Types
api_set:
ExcelApi: '1.16'
- id: excel-data-types-basic-types
name: Basic types with metadata
fileName: data-types-basic-types.yaml
description: This sample shows how to work with metadata on basic types.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/20-data-types/data-types-basic-types.yaml
group: Data Types
api_set:
ExcelApi: '1.19'
- id: excel-data-validation
name: Data validation
fileName: data-validation.yaml
description: >-
Sets data validation rules on ranges, prompts users to enter valid data, and
displays messages when invalid data is entered.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/22-data-validation/data-validation.yaml
group: Data Validation
api_set:
ExcelApi: '1.8'
- id: excel-document-get-file-in-slices-async
name: Get file using slicing
fileName: get-file-in-slices-async.yaml
description: >-
Uses slicing to get the byte array and Base64-encoded string that represent
the current document.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/26-document/get-file-in-slices-async.yaml
group: Document
api_set:
ExcelApi: '1.4'
- id: excel-document-properties
name: Properties
fileName: properties.yaml
description: Gets and sets document properties.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/26-document/properties.yaml
group: Document
api_set:
ExcelApi: '1.7'
- id: excel-document-custom-properties
name: Custom properties
fileName: custom-properties.yaml
description: Gets and sets custom properties at the document and worksheet levels.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/26-document/custom-properties.yaml
group: Document
api_set:
ExcelAPI: '1.12'
- id: excel-events-chartcollection-added-activated
name: Chart collection events
fileName: events-chartcollection-added-activated.yaml
description: >-
Registers event handlers on a worksheet's chart collection that run when any
chart within is activated or deactivated, as well as when charts are added
to or deleted from the collection.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-chartcollection-added-activated.yaml
group: Events
api_set:
ExcelApi: '1.8'
- id: excel-events-chart-activated
name: Chart events
fileName: events-chart-activated.yaml
description: >-
Registers event handlers on an individual chart that run when the chart is
activated or deactivated.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-chart-activated.yaml
group: Events
api_set:
ExcelApi: '1.8'
- id: excel-event-column-and-row-sort
name: Column and row sort events
fileName: event-column-and-row-sort.yaml
description: >-
Registers event handlers that run when column or row sorting events occur in
the current worksheet.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/event-column-and-row-sort.yaml
group: Events
api_set:
ExcelApi: '1.10'
- id: excel-events-comments
name: Comment events
fileName: events-comment-event-handler.yaml
description: >-
Registers event handlers to listen for comment additions, changes, and
deletions.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-comment-event-handler.yaml
group: Events
api_set:
ExcelAPI: '1.12'
- id: excel-events-data-changed
name: Data changed event
fileName: data-changed.yaml
description: Registers an event handler that runs when data is changed.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/data-changed.yaml
group: Events
api_set:
ExcelApi: '1.4'
- id: excel-data-change-event-details
name: Data changed event details
fileName: data-change-event-details.yaml
description: Uses the onChanged event of a table to determine the specifics of changes.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/data-change-event-details.yaml
group: Events
api_set:
ExcelApi: '1.9'
- id: excel-events-disable-events
name: Enable and disable events
fileName: events-disable-events.yaml
description: Toggles event firing on and off.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-disable-events.yaml
group: Events
api_set:
ExcelApi: '1.8'
- id: excel-events-formula-changed
name: Formula changed event
fileName: events-formula-changed.yaml
description: Registers an event handler to detect changes to formulas.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-formula-changed.yaml
group: Events
api_set:
ExcelAPI: '1.13'
- id: excel-selection-changed-events
name: Selection changed events
fileName: selection-changed-events.yaml
description: >-
Registers handlers all the different `onSelectionChanged` events and
displays how each event reports the selected addresses.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/selection-changed-events.yaml
group: Events
api_set:
ExcelApi: '1.7'
- id: excel-events-tablecollection-changed
name: Table collection events
fileName: events-tablecollection-changed.yaml
description: Registers an event handler that runs when a table collection is changed.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-tablecollection-changed.yaml
group: Events
api_set:
ExcelApi: '1.7'
- id: excel-event-worksheet-single-click
name: Single click event
fileName: event-worksheet-single-click.yaml
description: >-
Registers an event handler that runs when a single-click event occurs in the
current worksheet.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/event-worksheet-single-click.yaml
group: Events
api_set:
ExcelApi: '1.10'
- id: excel-events-table-changed
name: Table events
fileName: events-table-changed.yaml
description: Registers event handlers that run when a table is changed or selected.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-table-changed.yaml
group: Events
api_set:
ExcelApi: '1.7'
- id: excel-events-workbook-activated
name: Workbook activated event
fileName: events-workbook-activated.yaml
description: This sample shows how to register a workbook activated event handler.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-workbook-activated.yaml
group: Events
api_set:
ExcelAPI: '1.13'
- id: excel-events-workbook-and-worksheet-collection
name: Workbook and worksheet collection events
fileName: events-workbook-and-worksheet-collection.yaml
description: >-
Registers event handlers that run when a worksheet is added, activated,
deactivated, moved, or when the settings of a workbook are changed.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-workbook-and-worksheet-collection.yaml
group: Events
api_set:
ExcelApi: '1.17'
- id: excel-events-worksheet
name: Worksheet events
fileName: events-worksheet.yaml
description: Registers event handlers that run when worksheet events occur.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-worksheet.yaml
group: Events
api_set:
ExcelApi: '1.17'
- id: excel-events-worksheet-protection
name: Worksheet protection events
fileName: events-worksheet-protection.yaml
description: >-
Registers an event handler to listen for worksheet protection status
changes.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/30-events/events-worksheet-protection.yaml
group: Events
api_set:
ExcelAPI: '1.14'
- id: excel-named-item-create-and-remove-named-item
name: Create, access, and remove
fileName: create-and-remove-named-item.yaml
description: Creates, accesses, and removes named items in a worksheet.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/34-named-item/create-and-remove-named-item.yaml
group: Named Item
api_set:
ExcelApi: '1.4'
- id: excel-update-named-item
name: Update
fileName: update-named-item.yaml
description: Creates and then updates a named item.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/34-named-item/update-named-item.yaml
group: Named Item
api_set:
ExcelApi: '1.7'
- id: excel-pivottable-calculations
name: Calculations
fileName: pivottable-calculations.yaml
description: Changes the calculations the PivotTable performs.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-calculations.yaml
group: PivotTable
api_set:
ExcelApi: '1.8'
- id: excel-pivottable-create-and-modify
name: Create and modify
fileName: pivottable-create-and-modify.yaml
description: Creates and modifies a PivotTable.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-create-and-modify.yaml
group: PivotTable
api_set:
ExcelApi: '1.8'
- id: excel-pivottable-filters-and-summaries
name: Filters and summaries
fileName: pivottable-filters-and-summaries.yaml
description: Filters PivotTable data and shows different summarizations.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-filters-and-summaries.yaml
group: PivotTable
api_set:
ExcelApi: '1.8'
- id: excel-pivottables-get-pivottables
name: Get PivotTables
fileName: pivottable-get-pivottables.yaml
description: >-
Get existing PivotTables in the workbook through their collections and
through the ranges they occupy.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-get-pivottables.yaml
group: PivotTable
api_set:
ExcelAPI: '1.12'
- id: excel-pivottables-pivotfilters
name: PivotFilters
fileName: pivottable-pivotfilters.yaml
description: Applies PivotFilters to a PivotTable.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-pivotfilters.yaml
group: PivotTable
api_set:
ExcelAPI: '1.12'
- id: excel-pivottable-pivotlayout
name: PivotLayout
fileName: pivottable-pivotlayout.yaml
description: Sets PivotTable layout settings through the PivotLayout.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-pivotlayout.yaml
group: PivotTable
api_set:
ExcelAPI: '1.13'
- id: excel-pivottable-data-source
name: PivotTable data source
fileName: pivottable-source-data.yaml
description: Gets information about the data source of a PivotTable.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-source-data.yaml
group: PivotTable
api_set:
ExcelApi: '1.15'
- id: excel-pivottable-refresh
name: Refresh
fileName: pivottable-refresh.yaml
description: Refreshes a PivotTable based on table row additions.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-refresh.yaml
group: PivotTable
api_set:
ExcelApi: '1.8'
- id: excel-pivottable-slicer
name: Slicer
fileName: pivottable-slicer.yaml
description: Adds a slicer to a PivotTable.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/38-pivottable/pivottable-slicer.yaml
group: PivotTable
api_set:
ExcelApi: '1.10'
- id: excel-range-auto-fill
name: Auto fill
fileName: range-auto-fill.yaml
description: Writes to cells with the auto fill feature.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-auto-fill.yaml
group: Range
api_set:
ExcelApi: '1.10'
- id: excel-range-copyfrom
name: Copy and paste ranges
fileName: range-copyfrom.yaml
description: Copies or moves data and formatting from one range to another.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-copyfrom.yaml
group: Range
api_set:
ExcelApi: '1.10'
- id: excel-range-areas
name: Discontiguous ranges (RangeAreas) and special cells
fileName: range-areas.yaml
description: >-
Creates and uses RangeAreas, which are sets of ranges that need not be
contiguous, through user selection and programmatic selection of special
cells.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-areas.yaml
group: Range
api_set:
ExcelApi: '1.9'
- id: excel-range-find
name: Find text matches within a range
fileName: range-find.yaml
description: Finds a cell within a range based on string matching.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-find.yaml
group: Range
api_set:
ExcelApi: '1.9'
- id: excel-range-formatting
name: Formatting
fileName: formatting.yaml
description: Formats a range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/formatting.yaml
group: Range
api_set:
ExcelApi: '1.4'
- id: excel-range-cell-properties
name: Get and set cell properties
fileName: cell-properties.yaml
description: Sets different properties across a range then retrieves those properties.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/cell-properties.yaml
group: Range
api_set:
ExcelApi: '1.9'
- id: excel-range-hyperlink
name: Hyperlinks
fileName: range-hyperlink.yaml
description: Creates, updates, and clears hyperlinks in a range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-hyperlink.yaml
group: Range
api_set:
ExcelApi: '1.7'
- id: excel-range-insert-delete-and-clear-range
name: Insert, delete, and clear
fileName: insert-delete-clear-range.yaml
description: Inserts, deletes, and clears a range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/insert-delete-clear-range.yaml
group: Range
api_set:
ExcelApi: '1.4'
- id: excel-outline
name: Outline
fileName: outline.yaml
description: Creates an outline by grouping rows and columns.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/outline.yaml
group: Range
api_set:
ExcelApi: '1.10'
- id: excel-range-range-relationships
name: Range relationships
fileName: range-relationships.yaml
description: >-
Shows relationships between ranges, such as bounding rectangles and
intersections.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-relationships.yaml
group: Range
api_set:
ExcelApi: '1.4'
- id: excel-range-remove-duplicates
name: Remove duplicates
fileName: range-remove-duplicates.yaml
description: Removes duplicate entries from a range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-remove-duplicates.yaml
group: Range
api_set:
ExcelApi: '1.9'
- id: excel-range-selected-range
name: Selected range
fileName: selected-range.yaml
description: Gets and sets the currently selected range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/selected-range.yaml
group: Range
api_set:
ExcelApi: '1.1'
- id: excel-precedents
name: Precedents
fileName: precedents.yaml
description: >-
This sample shows how to find and highlight the precedents of the currently
selected cell. Precedents are cells referenced by the formula in a cell.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/precedents.yaml
group: Range
api_set:
ExcelApi: '1.14'
- id: excel-range-style
name: Style
fileName: style.yaml
description: >-
Creates a custom style, applies a custom and built-in styles to a range,
gets style properties, and deletes the custom style.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/style.yaml
group: Range
api_set:
ExcelApi: '1.7'
- id: excel-range-text-orientation
name: Text orientation
fileName: range-text-orientation.yaml
description: Gets and sets the text orientation within a range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-text-orientation.yaml
group: Range
api_set:
ExcelApi: '1.7'
- id: excel-range-dynamic-arrays
name: Dynamic arrays
fileName: dynamic-arrays.yaml
description: >-
Applies formulas that use dynamic arrays and displays information about the
ranges used to display the data.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/dynamic-arrays.yaml
group: Range
api_set:
ExcelAPI: '1.12'
- id: excel-range-used-range
name: Used range
fileName: used-range.yaml
description: >-
Tests for a used range and creates a chart from a table only if there's data
in the table.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/used-range.yaml
group: Range
api_set:
ExcelApi: '1.4'
- id: excel-range-values-and-formulas
name: Values and formulas
fileName: set-get-values.yaml
description: Gets and sets values and formulas for a range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/set-get-values.yaml
group: Range
api_set:
ExcelApi: '1.4'
- id: excel-merged-ranges
name: Merged ranges
fileName: range-merged-ranges.yaml
description: This sample shows how to create and find merged ranges in a worksheet.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-merged-ranges.yaml
group: Range
api_set:
ExcelAPI: '1.13'
- id: excel-range-get-range-edge
name: Select used range edge
fileName: range-get-range-edge.yaml
description: >-
This sample shows how to select the edges of the used range, based on the
currently selected range.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-get-range-edge.yaml
group: Range
api_set:
ExcelAPI: '1.13'
- id: excel-direct-dependents
name: Direct dependents
fileName: range-direct-dependents.yaml
description: >-
This sample shows how to find and highlight the direct dependents of the
currently selected cell. Dependent cells contain formulas that refer to
other cells.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-direct-dependents.yaml
group: Range
api_set:
ExcelAPI: '1.13'
- id: excel-range-dependents
name: Dependents
fileName: range-dependents.yaml
description: >-
This sample shows how to find and highlight the dependents of the currently
selected cell. Dependent cells contain formulas that refer to other cells.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-dependents.yaml
group: Range
api_set:
ExcelAPI: '1.15'
- id: excel-cell-controls
name: Checkboxes
fileName: range-cell-control.yaml
description: This sample shows how to add and remove checkboxes from a table.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/42-range/range-cell-control.yaml
group: Range
api_set:
ExcelApi: '1.18'
- id: excel-shape-create-and-delete
name: Create and delete geometric shapes
fileName: shape-create-and-delete.yaml
description: >-
Creates a few different geometric shapes and deletes them from the
worksheet.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/44-shape/shape-create-and-delete.yaml
group: Shape
api_set:
ExcelApi: '1.9'
- id: excel-shape-images
name: Image shapes
fileName: shape-images.yaml
description: Creates and adjusts image-based shapes.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/44-shape/shape-images.yaml
group: Shape
api_set:
ExcelApi: '1.9'
- id: excel-shape-lines
name: Lines
fileName: shape-lines.yaml
description: Creates and modifies line shapes.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/44-shape/shape-lines.yaml
group: Shape
api_set:
ExcelApi: '1.9'
- id: excel-shape-move-and-order
name: Move and order shapes
fileName: shape-move-and-order.yaml
description: Moves created shapes around the worksheet and adjusts their z-order.
rawUrl: >-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/excel/44-shape/shape-move-and-order.yaml
group: Shape
api_set:
ExcelApi: '1.9'
- id: excel-shape-groups