PC Review


Reply
Thread Tools Rate Thread

default save location on network

 
 
=?Utf-8?B?U3RldmVfbl9LQw==?=
Guest
Posts: n/a
 
      22nd Aug 2007
Is there a generic code that can be used to save the active wb to the users
personal default drive and document folder? (There is a fairly good chance
that the user won't have write access to the location that this original
template will be stored)

The macro stored in original saves an altered copy of itself to a set
location on our LAN as part of a macro.

For reapplication to other sites I am having to make the save line "generic"
because I don't know drive and folder names or the eventual users read/write
priviledges on their network.


--
THANKS!

Steve
 
Reply With Quote
 
 
 
 
=?Utf-8?B?QmFyYiBSZWluaGFyZHQ=?=
Guest
Posts: n/a
 
      23rd Aug 2007
Why not use something like

aWB.SaveAs(myString) where mystring includes the filepath and the filename.
You could also have the user select the filepath and append it with VB.

HTH,
Barb Reinhardt

"Steve_n_KC" wrote:

> Is there a generic code that can be used to save the active wb to the users
> personal default drive and document folder? (There is a fairly good chance
> that the user won't have write access to the location that this original
> template will be stored)
>
> The macro stored in original saves an altered copy of itself to a set
> location on our LAN as part of a macro.
>
> For reapplication to other sites I am having to make the save line "generic"
> because I don't know drive and folder names or the eventual users read/write
> priviledges on their network.
>
>
> --
> THANKS!
>
> Steve

 
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
Macro - save to current location vs excel default location leezard Microsoft Excel Misc 0 28th Oct 2008 03:04 PM
Save as with Default location Steve Microsoft Excel Programming 2 21st Mar 2008 08:43 PM
set default save location to PST? Deborah Microsoft Outlook 5 26th Jul 2005 10:07 PM
Default save location? Brett Windows XP Internet Explorer 3 2nd Nov 2004 04:45 PM
Default Save Location Microsoft Windows 2000 File System 0 4th Nov 2003 07:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:51 PM.