Ahhh quite right Doug.
I should have included some error handling for Jesper.
Thanks for the catch.
Jesper, try this instead:
Public Function funcListDescription()
On Error GoTo ErrorPoint
Dim db As DAO.Database
Dim tdf As DAO.TableDef
Dim fld As Field
Set db = CurrentDb
Set tdf = db.TableDefs("YourTableNameHere")
For Each fld In tdf.Fields
Debug.Print fld.Properties("Description")
Next fld
ExitPoint:
db.Close
Set db = Nothing
Exit Function
ErrorPoint:
If Err.Number = 3270 Then
Resume Next
Else
MsgBox "The following error has occurred:" _
& vbNewLine & "Error Number: " & Err.Number _
& vbNewLine & "Error Description: " & Err.Description _
, vbExclamation, "Unexpected Error"
End If
Resume ExitPoint
End Function