I have see this Public Function CreateWordLetter a number of time and it seem to be really simple to use. But I can not get it to work maybe someone can help me I have the function name createWordletter I have a form with a command button it that on click I have:
Private Sub Command45_Click()
CreateWordLetter "C:\Documents and Settings\Irene\Desktop\dear"
End Sub
The problem is that when I click the button I get a compile error message: expected variable or procedure, not module.
Can someone tell me want I am doing wrong. Thank you Irene
Private Sub Command45_Click()
CreateWordLetter "C:\Documents and Settings\Irene\Desktop\dear"
End Sub
The problem is that when I click the button I get a compile error message: expected variable or procedure, not module.
Can someone tell me want I am doing wrong. Thank you Irene