Hi
My program opens Microsoft Word documents and allows the user to choose from a combobox in the program what codes to insert to the document.
However it only works correctly for the first opened document (ie works fine if no other word docs are open prior to running the program but if they are then the first document opened (chronologically) is the one that receives the codes)
Is there a way for me to say that I want the document opened by the user (selected from a filelist box in the program) to be the active document?
Thanks in advance,
Chris
My program opens Microsoft Word documents and allows the user to choose from a combobox in the program what codes to insert to the document.
However it only works correctly for the first opened document (ie works fine if no other word docs are open prior to running the program but if they are then the first document opened (chronologically) is the one that receives the codes)
Is there a way for me to say that I want the document opened by the user (selected from a filelist box in the program) to be the active document?
Thanks in advance,
Chris