View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
scdallas scdallas is offline
external usenet poster
 
Posts: 2
Default Output file to My Documents

I'm trying to write a macro in a file located on a shared drive that will be
used by various members of my team. It needs to Open a file for Output and
I'd like it to save the file to the My Documents folder of whoever is running
the macro. Is there a way to do this either using the UserName in the file
name or can "My Documents" be identified without putting a full path (ie
c:\Documents and Settings\username\My Documents\...)? I'm using Excel 2003.