Hi,
I'm working with a mail-merge document. I have a userform that allows the user to input a specific paragraph (the user is given a choice of paragraphs, and selects which one using a selection of commmand buttons, which inputs the paragraph in the relevant position on the document), I'd like to have the userform pop up at the same time my fill-in boxes pop up (when the document is first merged), but I am having difficulties finding the correct code to do this.
The userform is called NewOfferLetter, I have tried:
This line of code doesn't seem to display the userform, and if I try to use the form manually, I am presented with a Run-time error '5941' (The requested member of the collection does not exist) which presumably means I'm missing a rather important piece of code, and/or my code (shown above) is incorrect.
Any help is much appreciated.
I'm working with a mail-merge document. I have a userform that allows the user to input a specific paragraph (the user is given a choice of paragraphs, and selects which one using a selection of commmand buttons, which inputs the paragraph in the relevant position on the document), I'd like to have the userform pop up at the same time my fill-in boxes pop up (when the document is first merged), but I am having difficulties finding the correct code to do this.
The userform is called NewOfferLetter, I have tried:
Private Sub NewOfferLetter_Initialize()
Load NewOfferLetter
NewOfferLetter.Show
End Sub
This line of code doesn't seem to display the userform, and if I try to use the form manually, I am presented with a Run-time error '5941' (The requested member of the collection does not exist) which presumably means I'm missing a rather important piece of code, and/or my code (shown above) is incorrect.
Any help is much appreciated.