D
DanMurphy
Hello All
I am using Word 2007, and trying to make a word template with a user
signature automatically present depending on the user that opens th
document.
I am having little success at the moment however, I am brutishl
inexperienced with Word VBA.
My first attempt was a straightforward inclusion in the word fields
{INCLUDEPICTURE C:\\Signatures\\Environ("Username").bmp}
which returned a broken picture symbol.
My second attempt has been to have a wrapper function around it.
Public Function EMPNAME()
EMPNAME = Environ("Username")
End Function
But including
{INCLUDEPICTURE C:\\Signatures\\{=EMPNAME()}.bmp}
Just returns syntax error.
Could anyone point me in the right direction? It would be greatl
appreciated
I am using Word 2007, and trying to make a word template with a user
signature automatically present depending on the user that opens th
document.
I am having little success at the moment however, I am brutishl
inexperienced with Word VBA.
My first attempt was a straightforward inclusion in the word fields
{INCLUDEPICTURE C:\\Signatures\\Environ("Username").bmp}
which returned a broken picture symbol.
My second attempt has been to have a wrapper function around it.
Public Function EMPNAME()
EMPNAME = Environ("Username")
End Function
But including
{INCLUDEPICTURE C:\\Signatures\\{=EMPNAME()}.bmp}
Just returns syntax error.
Could anyone point me in the right direction? It would be greatl
appreciated