Finding user's home directory path
Is there a simple way in VBA to determine the filesystem path to the user's home (or My Documents) directory?
We have an Excel VBA script that will run on a shared machine that needs to write files to the logged-in user's My Documents. If it complicates the matter any, the user's My Documents are mapped to a Windows file server rather than being located on the local hard drive.
Bruce Luckcuck
Director, Applications & Support Services
Wiley Publishing, Inc.
__________________
Bruce Luckcuck
Director, Applications & Support Services
Wiley Publishing, Inc.
|