I have something that may work...I've also been able to incorporate other, post transformation XLS formatting (bold headers, calcualted totals using EXCEL functions, freeze panes, auto-filter) etc using similar approach. I've been able to get this to work in the old DJ 7.5.5 as well as Cosmos 8.10
Source: Your desired Source file
Target: Null (or, any text or excel file if you need to see something)
Global Variables:
arrMyValues(Variant, LBound 0, UBound 9999)
Source/R1 - AfterEveryRecord(Execute)
arrMyValues(Sources(0).RecordNumber) = Sources(0).Fields(1) 'assuming that your desired data is found in field 1 of each source record
Source/General Event Handlers - OnEOF(Execute)
'Define the Excel Application Object
Dim xlApp As Object
'Create the Excel Object
Set xlApp = CreateObject("Excel.Application")
objTargetFile = "c:\temp\example.xls" 'your desired file here
'Open the desired Excel File
xlApp.Workbooks.Open objTargetFile
'Show Excel spreadsheet
xlApp.visible = TRUE
For i = 0 To UBound(arrMyValues)
If i = 0 Then
'Insert new column in Column B, shifts data to right xlApp.Application.Worksheets(1).Columns("B:B").Select
xlApp.Selection.Insert
'Insert new column header label
xlApp.Application.Worksheets(1).Range("B1").Select
xlApp.Application.Cells(1,2).Value = "YOUR LABEL HERE" 'or reference variable containing your desired month/year header value
Else
'Insert content of array element
xlApp.Application.Cells(1 + i, 2).Value = arrMyValues(i)
End If
'Sleep(1000) 'For debug purposes, so that you can watch progress
Next i
'Suppress warning message that file already exists
xlApp.Application.DisplayAlerts = FALSE
'Save file with formatted changes
xlApp.Application.ActiveWorkbook.Save
'Re-enable warning messages (if applicable)
'xlApp.Application.DisplayAlerts = TRUE
'Quit the Excel Application
xlApp.Quit
'Destroy xlApp object
Set xlApp = Nothing