Quote:
Originally Posted by macropod
I can't see how that could be possible if you're using the variables as defined in the posted code - StrNm & StrPth are quite clearly defined.
|
let me describe you what i did:
1) Opened the word file that contains the footer i want.
2) Pressed Alt+F11, and choose the file from left panel.
3) From "Insert UseForm" icon, i choose module.
4) I paste the code you wrote here.
5) I pressed F5.
6) Opened a popup window to choose the folder i want and i choose it.
7) After pressing OK button from popup window i get the error i told you.