Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 279
Default defaulting to the desktop

How do I get the save dialog box to default to the user's desktop?
I basically need to know how to get the path to the user's desktop.
--
Thanks - Ed
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default defaulting to the desktop

Sub SetMyDocs()
Dim o As Object
Set o = CreateObject("WScript.Shell")
MsgBox o.SpecialFolders("Desktop")
End Sub

--
Regards,
Tom Ogilvy



"Ed" wrote in message
...
How do I get the save dialog box to default to the user's desktop?
I basically need to know how to get the path to the user's desktop.
--
Thanks - Ed



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
defaulting to Euros dstiefe Excel Discussion (Misc queries) 3 April 21st 10 05:01 PM
EXCEL FILES SAVED TO DESKTOP WILL NOT OPEN FROM DESKTOP randy111 Excel Discussion (Misc queries) 3 January 13th 08 10:38 PM
Defaulting the margins Meebers Excel Worksheet Functions 2 December 11th 07 02:50 AM
Date Defaulting Heather Excel Worksheet Functions 2 April 23rd 05 12:00 AM
Defaulting a cell to 0 Erin Excel Programming 1 June 15th 04 02:17 PM


All times are GMT +1. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"