This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Option Explicit | |
| Public Function WriteToExcel( _ | |
| rsSrc As Recordset, _ | |
| sFileName As String, _ | |
| Optional Workbook As String) As Recordset | |
| Const FUNC_NAME As String = "WriteToExcel" | |
| Dim cn As ADODB.Connection | |
| Dim sSQL As String | |
| Dim oFld As ADODB.Field |
NewerOlder