I used the reference offered by ssanfu as a guide to write and test procedure specific to your data.
Code:
Option Compare Database
Option Explicit
Sub ExportMusicList()
Dim lngColumn As Long, lngRow As Long
Dim xlx As Object, xlw As Object, xls As Object
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Dim blnEXCEL As Boolean
Dim strTitle As String
blnEXCEL = False
On Error Resume Next
Set xlx = GetObject(, "Excel.Application")
If Err.Number <> 0 Then
Set xlx = CreateObject("Excel.Application")
blnEXCEL = True
End If
Err.Clear
On Error GoTo 0
xlx.Visible = True
Set xlw = xlx.Workbooks.Open("D:\Forums\SabresInputExample.xls")
Set xls = xlw.Worksheets("Sheet1")
Set dbs = CurrentDb()
Set rst = dbs.OpenRecordset("WriterShare", dbOpenDynaset, dbReadOnly)
lngRow = 1
lngColumn = 2
If rst.EOF = False And rst.BOF = False Then
rst.MoveFirst
Do While rst.EOF = False
If strTitle = rst!SongTitle Then
xls.Cells(lngRow, lngColumn).Value = rst!WriterName
xls.Cells(lngRow, lngColumn + 1).Value = rst!WritersShare
rst.MoveNext
lngColumn = lngColumn + 2
Else
strTitle = rst!SongTitle
lngRow = lngRow + 1
lngColumn = 2
xls.Cells(lngRow, 1).Value = strTitle
End If
Loop
End If
rst.Close
Set rst = Nothing
dbs.Close
Set dbs = Nothing
Set xls = Nothing
Set xlw = Nothing
Set xlx = Nothing
End Sub