Runapp in Macro question

S

Steve Albert

I have a button on a form that, when clicked, will open a particular Word
document. I have no problem doing that when I write in the specified
directory. However, the database is deployed on 35 laptops, and the My
Douments folder on each is stored under the users username. So for me, it
would be "c:\documents and settings\steve\my documents\letter.doc". How can I
have a script find the current laptop user's username and insert it into the
path string?

Thanks.

- Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top