One note about this thread: you should only use Fcodes as a last resort. Fcodes require an active, on screen document, so they don't work on documents you might open invisibly when processing all documents in a book or folder. In this case, you have no choice because the Fcode is the only way to do it. But if you have a choice between an Fcode and a built-in command, you should use the built-in command.
Rick