G
Guest
Hi,
With the help of some people of here yesterday I came up with the following
Macro,
*****************************************************
Sub Save()
'
' Save Macro
' Macro recorded 26/01/2005 by ******
'
ChDir _
"\\stw.intra\STW\Financial Services\FS\·Section-Wide Data\AMS\PA
Journals\Personal"
ActiveWorkbook.SaveAs _
Filename:="PA-" & Cells(6, 16) & Format(Now(), "-yyyy.mm.dd") & ".xls"
End Sub
************************************
this worked fine on my computer and on one of my colleagues but then It
seems on others it is saving to either their my documents folder or to
another default location.
Is there any way to secure that it saves to the requested directory, thanks
Andy
With the help of some people of here yesterday I came up with the following
Macro,
*****************************************************
Sub Save()
'
' Save Macro
' Macro recorded 26/01/2005 by ******
'
ChDir _
"\\stw.intra\STW\Financial Services\FS\·Section-Wide Data\AMS\PA
Journals\Personal"
ActiveWorkbook.SaveAs _
Filename:="PA-" & Cells(6, 16) & Format(Now(), "-yyyy.mm.dd") & ".xls"
End Sub
************************************
this worked fine on my computer and on one of my colleagues but then It
seems on others it is saving to either their my documents folder or to
another default location.
Is there any way to secure that it saves to the requested directory, thanks
Andy