Thread: Desktop path?
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Charlotte E.[_2_] Charlotte E.[_2_] is offline
external usenet poster
 
Posts: 70
Default Desktop path?

I have Excel create a report (a .TXT-file) via VBA, and that part works fine
:-)

But now I would like Excel to automatically save this report on the users
desktop for easy access, everytime the user runs the macro.

But being in a multinational company the name and path of the users desktop
can be very different!

I've tried to see if there's an ENV-variable, telling me the current
desktop-path, but I couldn't find it, so...


....is there a way to find the current desktop path in VBA???


TIA,