forked from Aeraphe/excel-types
-
Notifications
You must be signed in to change notification settings - Fork 0
/
range.d.vb
625 lines (312 loc) · 9.74 KB
/
range.d.vb
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
'/*
'Represents a cell, a row, a column, a selection of cells containing one or more contiguous blocks of cells, or a 3D range.
'
'
'*/
Public Class Range()
'/*
'(Range)
'
'Activates a single cell, which must be inside the current selection.
'To select a range of cells, use the Select method.,
'
'Example
'
'This example selects cells A1:C3 on Sheet1 and then makes cell B2 the active cell.
'
' Worksheets("Sheet1").Activate
' Range("A1:C3").Select
' Range("B2").Activate
'
'*/
Public Sub Activate()
End Sub
'/*
'Adds a comment to the range.
'
'Example:
'
'Worksheets(1).Range("E5").AddComment "Current Sales"
'
'@param {String} text
'*/
Public Sub AddComment(text As String)
End Sub
Public Sub AddCommentThreaded()
End Sub
Public Sub AdvancedFilter()
End Sub
Public Sub AllocateChanges()
End Sub
Public Sub ApplyName()
End Sub
Public Sub ApplyOutLineStyles()
End Sub
Public Sub AutoComplete()
End Sub
Public Sub AutoFill()
End Sub
Public Sub AutoFilter()
End Sub
Public Sub AutioFit()
End Sub
Public Sub AutoOutline()
End Sub
Public Sub BorderAround()
End Sub
Public Sub Calculate()
End Sub
Public Sub CalculateRowMajorOrder()
End Sub
Public Sub CheckSpelling()
End Sub
Public Sub Clear()
End Sub
Public Sub ClearComments()
End Sub
Public Sub ClearContents()
End Sub
Public Sub ClearFormats()
End Sub
Public Sub ClearHyperlinks()
End Sub
Public Sub ClearNotes()
End Sub
Public Sub ClearOutline()
End Sub
Public Sub ColumnDifferences()
End Sub
Public Sub Consolidate()
End Sub
Public Sub ConvertToLinkedDataType()
End Sub
Public Sub Copy()
End Sub
Public Sub CopyFromRecordset()
End Sub
Public Sub CopyPicture()
End Sub
Public Sub CreateNames()
End Sub
Public Sub Cut()
End Sub
Public Function DataSeries (Rowcol, Type, Date, Step, Stop, Trend)
End Function
Public Function DataTypeToText()
End Function
Public Function Delete (Shift)
End Function
Public Function DialogBox()
End Function
Public Function Dirty()
End Function
Public Function DiscardChanges()
End Function
Public Function EditionOptions (Type, Option, Name, Reference, Appearance, ChartSize, Format)
End Function
Public Function ExportAsFixedFormat (Type, FileName, Quality, IncludeDocProperties, IgnorePrintAreas, From, To, OpenAfterPublish, FixedFormatExtClassPtr)
End Function
Public Function FillDown()
End Function
Public Function FillLeft()
End Function
Public Function FillRight()
End Function
Public Function FillUp()
End Function
Public Function Find (What, After, LookIn, LookAt, SearchOrder, SearchDirection, MatchCase, MatchByte, SearchFormat)
End Function
Public Function FindNext (After)
End Function
Public Function FindPrevious (Before)
End Function
Public Function FlashFill ()
End Function
Public Function FunctionWizard ()
End Function
Public Function Group (Start, End, By, Periods)
End Function
Public Function Insert (Shift, CopyOrigin)
End Function
Public Function InsertIndent (InsertAmount)
End Function
Public Function Justify()
End Function
Public Function ListNames()
End Function
Public Function Merge(Across)
End Function
Public Function NavigateArrow(TowardPrecedent, ArrowNumber, LinkNumber)
End Function
Public Function NoteText(Text, Start, Length)
End Function
Public Function Parse(ParseLine, Destination)
End Function
Public Function PasteSpecial(Paste, Operation, SkipBlanks, Transpose)
End Function
Public Function PrintOut(From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName)
End Function
Public Function PrintPreview(EnableChanges)
End Function
Public Function RemoveDuplicates(Columns , Header)
End Function
Public Function RemoveSubtotal()
End Function
Public Function Replace(What, Replacement, LookAt, SearchOrder, MatchCase, MatchByte, SearchFormat, ReplaceFormat)
End Function
Public Function RowDifferences(Comparison)
End Function
Public Function Run(Arg1, Arg2, Arg3, Arg4, Arg5...)
End Function
Public Function Select()
End Function
Public Function SetCellDataTypeFromCell(Range, LanguageCulture)
End Function
Public Function SetPhonetic()
End Function
Public Function Show()
End Function
Public Function ShowCard()
End Function
Public Function ShowDependents(Remove)
End Function
Public Function ShowErrors()
End Function
Public Function ShowPrecedents(Remove)
End Function
Public Function Sort(Key1, Order1, Key2, Type, Order2, Key3, Order3, Header, OrderCustom, MatchCase, Orientation, SortMethod, DataOption1, DataOption2, DataOption3)
End Function
Public Function SortSpecial(SortMethod, Key1, Order1, Type, Key2, Order2, Key3, Order3, Header, OrderCustom, MatchCase, Orientation, DataOption1, DataOption2, DataOption3)
End Function
Public Function Speak(SpeakDirection, SpeakFormulas)
End Function
Public Function SpecialCells(Type, Value)
End Function
Public Function SubscribeTo(Edition, Format)
End Function
Public Function Subtotal(GroupBy, Function, TotalList, Replace, PageBreaks, SummaryBelowData)
End Function
Public Function Table(RowInput, ColumnInput)
End Function
Public Function TextToColumns(Destination, DataType, TextQualifier, ConsecutiveDelimiter, Tab, Semicolon, Comma, Space, Other, OtherChar, FieldInfo, DecimalSeparator, ThousandsSeparator, TrailingMinusNumbers
End Function
Public Function Ungroup()
End Function
Public Function UnMerge()
End Function
Public Property AddIndent As Variant
Public Function Address(RowAbsolute, ColumnAbsolute, ReferenceStyle, External, RelativeTo) As Variant
End Function
Public Function AddressLocal(RowAbsolute, ColumnAbsolute, ReferenceStyle, External, RelativeTo) As Range
End Function
Public Property Application As Application
Public Property Areas As Areas
Public Property Borders As Variant
Public Property Cells As Range
Public Function Characters(Start, Length) As Variant
End Function
Public Property Column As Long
Public Property Columns As Long
Public Property ColumnWidth As Variant
Public Property Comment As Variant
Public Property CommentThreaded As Variant
Public Property Count As Long
Public Property CountLarge As Variant
Public Property Creator As Integer
Public Property CurrentArray As Range
'/*
'Returns a Range object that represents the current region.
'The current region is a range bounded by any combination of blank rows and blank columns. Read-only.
'
'Example
'Worksheets("Sheet1").Activate
'ActiveCell.CurrentRegion.Select
'*/
Public Property CurrentRegion As Range
Public Property Dependents As Range
Public Property DirectDependents As Range
Public Property DirectPrecedents As Range
Public Property DisplayFormat As Object
Public Function End(Direction) As Object
End Function
Public Property EntireColumn As Range
Public Property EntireRow As Range
Public Property Errors As Errors
Public Property Font As Font
Public Property FormatConditions As Range
Public Property Formula As Variant
Public Property FormulaArray As Variant
Public Property FormulaHidden As Variant
Public Property FormulaLocal As Object
Public Property FormulaR1C1 As Varaint
Public Property FormulaR1C1Local As Varaint
Public Property HasArray As Varaint
Public Property HasFormula As Varaint
Public Property HasRichDataType As Varaint
Public Property Height As Double
Public Property Hidden As Variant
Public Property HorizontalAlignment As Variant
Public Property Hyperlinks As Object
Public Property ID As String
Public Property IndentLevel As Variant
Public Property Interior As Double
Public Function Item (RowIndex, ColumnIndex) As Range
End Function
Public Property Left As Variant
Public Property LinkedDataTypeState As Variant
Public Property ListHeaderRows As Variant
Public Property ListObject As Object
Public Property LocationInTable As Variant
Public Property Locked As Variant
Public Property MDX As String
Public Property MergeArea As Range
Public Property MergeCells As Boolean
Public Property Name As Variant
Public Property Next As Range
Public Property NumberFormat As Variant
Public Property NumberFormatLocal As Variant
Public Function Offset (RowOffset, ColumnOffset) As Range
End Function
Public Property Orientation As Variant
Public Property OutlineLevel As Variant
Public Property PageBreak As Variant
Public Property Parent As Variant
Public Property Phonetic As Variant
Public Property Phonetics As Variant
Public Property PivotCell As Variant
Public Property PivotField As Variant
Public Property PivotItem As Variant
Public Property PivotTable As Variant
Public Property Precedents As Range
Public Property PrefixCharacter As Variant
Public Property Previous As Range
Public Property QueryTable As Variant
Public Function Range (Cell1, Cell2) As Range
End Function
Public Property ReadingOrder As Variant
Public Function Resize (RowSize, ColumnSize) As Range
End Function
Public Property Row As Long
Public Property RowHeight As Double
Public Property Rows As Range
Public Property ServerActions As Variant
Public Property ShowDetail As Variant
Public Property ShrinkToFit As Variant
Public Property SoundNote As Variant
Public Property SparklineGroups As Variant
Public Property Style As Variant
Public Property Summary As Variant
Public Property Text As String
Public Property Top As Variant
Public Property UseStandardHeight As Variant
Public Property UseStandardWidth As Variant
Public Property Validation As Variant
Public Function Value (RangeValueDataType) As Variant
End Function
Public Property Value2 As Variant
Public Property VerticalAlignment As Variant
Public Property Width As Double
Public Property Worksheet As Worksheet
Public Property WrapText As Variant
Public Property XPath As XPath
End Class