Further to my save as Macro (thanks for the help on that by the way)
I'm just looking to write an If at the end which if true will also save the
file to another location, here is what ive put,
******************************************
Sub NewSave()
Dim sStr As String
sStr = "\\stw.intra\STW\Financial Services\FS\·Section-" & _
"Wide Data\AMS\PA Journals\Personal\PA-"
ActiveWorkbook.SaveAs _
Filename:=sStr & Cells(6, 16) & _
Format(Now(), "-yyyy.mm.dd") & ".xls"
If Range(D1) = "UPLOAD" Then
Run.UploadSave
End If
End Sub
***************************************
Sub UploadSave()
Dim sStr As String
sStr = "\\stw.intra\STW\Financial Services\FS\·Section-" & _
"Wide Data\AMS\PA Journals\Journals to be Uploaded\PA-"
ActiveWorkbook.SaveAs _
Filename:=sStr & Cells(6, 16) & _
Format(Now(), "-yyyy.mm.dd") & ".xls"
End Sub
**********************************************
but it doesn't seem to like my IF Statement,
Any suggestions?
thanks,
Andy
Bookmarks