I've managed to get it to work!!! I put
Rem bbdoc: My Module End Remat the top of the source file and it seems to have done the job. Please could anyone tell me what other "DocMod" keywords there are other than "bbdoc" and "about".