Syntax
| SQL.RunMSExcel ViewOrTableOrQuery [, SaveAs][, AltHeaderCaption] _
[, AltSubHeaderCaption][, TimeOut]
| ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Opens a VIEW, TABLE or a SELECT query, and presents the data in the Microsoft program Excel using a new and completely automatically formatted Excel worksheet.
The output is similar to the output option: "Excel worksheet" in the SQL Designer
| ||||||||||||
See Also
| other SQL.Runxxxxxxxx methodes, Excel-werkblad.
| ||||||||||||
Example
| Sub Main() Dim sQuery As String sQuery = InputBox$("Select Query:") SQL.RunMSExcel sQuery, , "Demo!" End Sub | ||||||||||||