Re: Excel saves to wrong folder
- From: "Don Guillett" <dguillett1@xxxxxxxxxxxxx>
- Date: Fri, 22 Dec 2006 07:56:16 -0600
Does this help?
Sub savefileasandcomeback()
originalpath = ActiveWorkbook.Path
MsgBox op
ActiveWorkbook.SaveAs Filename:= _
"YourPath\YourName.xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
ChDir originalpath
End Sub
--
Don Guillett
SalesAid Software
dguillett1@xxxxxxxxxxxxx
"T Dragos" <TDragos@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:92ED876B-1135-4001-A0BB-9475477284D2@xxxxxxxxxxxxxxxx
I can select the folder, and it appears to save the file, but when I go
looking, the file is in the first folder. Again, the key seems to be the
first "save as" location is sticking when I try the second "save as". I am
using Excel 2002 (10.6816.6817) SP3
"Jim Rech" wrote:
when I try and save the second file to a different folder
When you do the second Save As are you saying that Excel will not allow
you
to select another folder? Or are you saying that, even though you can
select another folder, Excel will not use it? I've have never run into
either problem (and I just tried it now with Excel 2002).
--
Jim
"T Dragos" <T Dragos@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B64E932F-87E3-464C-8DA2-4979BDD7D6E3@xxxxxxxxxxxxxxxx
| In Excel XP, I open two files from a local folder. Then I save (using
'Save
| As') the first file to a folder on a network share, when I try and save
the
| second file to a different folder on the same network share, Excel
saves
the
| second file to the folder the frst file was saved to. I can diplicate
this
on
| multiple machines on multiple domains. I have applied all updates. Is
there a
| way to stop this from happening? The only work around I have come up
with
is
| to close Excel between each 'Save As' attempt.
.
- Follow-Ups:
- Re: Excel saves to wrong folder
- From: T Dragos
- Re: Excel saves to wrong folder
- References:
- Re: Excel saves to wrong folder
- From: Jim Rech
- Re: Excel saves to wrong folder
- Prev by Date: Re: Passwords
- Next by Date: Re: Text value 0e00 still treated as a number?
- Previous by thread: Re: Excel saves to wrong folder
- Next by thread: Re: Excel saves to wrong folder
- Index(es):
Relevant Pages
|