Sub Main Dim h% h% = RTF.CreateHandle() 'open een nieuwe container RTF.LoadFile h%, "..\mytemplate.rtf" RTF.InitATfields h%, "A moment, please..." Debug.Print RTF.AtFieldCount(%h, "@artoms") RTF.CloseHandle h% 'sluit de container End Sub