PC Review


Reply
Thread Tools Rate Thread

Automatically saving to someone's 'My Documents' directory

 
 
James Price at Premier
Guest
Posts: n/a
 
      6th Apr 2009
Is there a default that saves a file to someone's 'my documents' directory as
two people in the same dept will have different directory paths.

Many thanks

James
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      6th Apr 2009
Try this

MyPath = CreateObject("WScript.Shell").Specialfolders("MyDocuments")

Mike

"James Price at Premier" wrote:

> Is there a default that saves a file to someone's 'my documents' directory as
> two people in the same dept will have different directory paths.
>
> Many thanks
>
> James

 
Reply With Quote
 
James Price at Premier
Guest
Posts: n/a
 
      6th Apr 2009
That's great. Thanks Mike

James

"Mike H" wrote:

> Try this
>
> MyPath = CreateObject("WScript.Shell").Specialfolders("MyDocuments")
>
> Mike
>
> "James Price at Premier" wrote:
>
> > Is there a default that saves a file to someone's 'my documents' directory as
> > two people in the same dept will have different directory paths.
> >
> > Many thanks
> >
> > James

 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      6th Apr 2009
Your welcome and thanks for the feedback

"James Price at Premier" wrote:

> That's great. Thanks Mike
>
> James
>
> "Mike H" wrote:
>
> > Try this
> >
> > MyPath = CreateObject("WScript.Shell").Specialfolders("MyDocuments")
> >
> > Mike
> >
> > "James Price at Premier" wrote:
> >
> > > Is there a default that saves a file to someone's 'my documents' directory as
> > > two people in the same dept will have different directory paths.
> > >
> > > Many thanks
> > >
> > > James

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving Excel File in Current Directory NOT My Documents Fredriksson via OfficeKB.com Microsoft Excel Programming 1 6th Nov 2006 09:08 PM
Saving Excel File in Current Directory NOT My Documents Fredriksson via OfficeKB.com Microsoft Excel Programming 0 6th Nov 2006 07:47 PM
how do I stop my word documents automatically saving in .rtf =?Utf-8?B?QWxsaQ==?= Microsoft Word Document Management 1 25th Oct 2006 05:55 AM
My documents directory Ricardo Microsoft Dot NET Compact Framework 2 4th Dec 2003 10:14 PM
problems saving documents, opening documents Cheryl Ware Microsoft Word Document Management 0 4th Jul 2003 08:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 PM.