-
Notifications
You must be signed in to change notification settings - Fork 4
/
workbooks.d.vb
109 lines (79 loc) · 2.47 KB
/
workbooks.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
'/*
'A collection of all the Workbook objects that are currently open in the Microsoft Excel application.
'
'*/
Public Class Workbooks()
'/*
'Creates a new workbook. The new workbook becomes the active workbook.
'
'@param {Variant} Template:[Optional] Determines how the new workbook is created.
'If this argument is a string specifying the name of an existing Microsoft Excel file,
'the new workbook is created with the specified file as a template.
'*/
Public Function Add(Template)
End Function
'/*
'True if Microsoft Excel can check out a specified workbook from a server.
'Read/write Boolean.
'
'@param {String} FileName:[Required] The name of the file to check out.
'
'*/
Public Function CanCheckOut (FileName)
End Function
Public Function CheckOut (FileName)
End Function
Public Function Close ()
End Function
'/*
'
'Opens a workbook.
'
'Example
'Workbooks.Open "ANALYSIS.XLS"
'ActiveWorkbook.RunAutoMacros xlAutoOpen
'*/
Public Function Open (FileName, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, AddToMru, Local, CorruptLoad) As Workbook
End Function
'/*
'Returns a Workbook object representing a database.
'*/
Public Function OpenDatabase (FileName, CommandText, CommandType, BackgroundQuery, ImportDataAs)
End Function
'/*
'Loads and parses a text file as a new workbook with a single sheet that contains the parsed text-file data.
'*/
Public Function (FileName, Origin, StartRow, DataType, TextQualifier, ConsecutiveDelimiter, Tab, Semicolon, Comma, Space, Other, OtherChar, FieldInfo, TextVisualLayout, DecimalSeparator, ThousandsSeparator, TrailingMinusNumbers, Local)
End Function
'/*
'Opens an XML data file. Returns a Workbook object.
'*/
Public Function OpenXML (FileName, Stylesheets, LoadOption)
End Function
'/*
'When used without an object qualifier, this property returns an
'Application object that represents the Microsoft Excel application.
'
'*/
Public Property Application As Application
'/*
'Returns a Long value that represents the number of objects in the collection.
'
'*/
Public Property Count As Long
'/*
'Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.
'
'*/
Public Property Creator As Integer
'/*
'Returns a single object from a collection.
'
'*/
Public Property Item(Index) As Object
'/*
'Returns the parent object for the specified object. Read-only.
'
'*/
Public Property Parent As Object
End Class