Actually both. I'd like to learn both ways. Thank you for the code you sent. I tried it and it worked great!!

What if I want to open a new doc and manipulate it with KiX? Will I need to use COM to do that? If so, could you give me more info on COM? That is territory I've never traveled before.