Yeah that's great. I have written same code before in some other programs where I used Word. But now actually, the file that I am printing is from an application called Design Capture, so not Word. And I don't know if it's possible to somehow have a reference in Basic to that application?