Easiest way
Make a query with the fields you need to export (ProjectName, ProjectDetail,ProjectEnd, CharlesRole, txtboxcolumn) and filter the values where txtboxcolum = true
Add these code (untested)
Dim rst as DAO.recorset
set rst = Currentdb.openrecordset("qryname")
do until...