Knud ,

one (of many) ways could be checking @dos macro value ...

J.
_________________________