Depends on what you mean by formatted. You can paste code from a module into
a memo field and it should maintain leading spaces and carriage returns.

Signature
Duane Hookom
MS Access MVP
--
> How can I store the formatted text from for example Visual Basic into a
> memo field and retrieve this in a report?