sessionone
10-03-2011, 04:26 AM
Hi all,
I've been looking for the answer for ages now, but can't seem to find it, I hope you guys may be able to help me.
Basically I have a "create letter" button and "print letter" on a word userform. The first button only creates a letter and the second creates and prints a letter straight away.
So what I don't understand is how can I put a single line "printout" to a "print letter" sub instead of copying and pasting the whole code of the "create letter" button to the "print letter" button click event and adding "printout" where it's needed. There's is a lot of code to paste, and I'm already finding it hard to edit it.
Thank you for help,
sessionone
I've been looking for the answer for ages now, but can't seem to find it, I hope you guys may be able to help me.
Basically I have a "create letter" button and "print letter" on a word userform. The first button only creates a letter and the second creates and prints a letter straight away.
So what I don't understand is how can I put a single line "printout" to a "print letter" sub instead of copying and pasting the whole code of the "create letter" button to the "print letter" button click event and adding "printout" where it's needed. There's is a lot of code to paste, and I'm already finding it hard to edit it.
Thank you for help,
sessionone