Hello,
I've got a set of dir's labeled
07-01 January Stickers
07-02 February Stickers
etc
and i'm currently using the following code ( thanks to help from Combo )
Sub SaveStickers()
Dim strFileB
Const sPATH As String = "\\Solaris\Operations\Clients\Stickers\"
Const sFILE As String = "Fulfillment"
Const sVAR As String = ""
ActiveWorkbook.SaveCopyAs sPATH & strFileB & sVAR & _
Format(Now - 1, "dd-mm-yy ") & sFILE & ".csv"
Application.DisplayAlerts = False
ActiveWorkbook.Close
Application.DisplayAlerts = True
End Sub
What I now need to do is get the sPATH var to change depending on the current MM-YY and point to the corresponding Dir.
Any Ideas on ho I can do this ?
Thanks ( as always )
I've got a set of dir's labeled
07-01 January Stickers
07-02 February Stickers
etc
and i'm currently using the following code ( thanks to help from Combo )
Sub SaveStickers()
Dim strFileB
Const sPATH As String = "\\Solaris\Operations\Clients\Stickers\"
Const sFILE As String = "Fulfillment"
Const sVAR As String = ""
ActiveWorkbook.SaveCopyAs sPATH & strFileB & sVAR & _
Format(Now - 1, "dd-mm-yy ") & sFILE & ".csv"
Application.DisplayAlerts = False
ActiveWorkbook.Close
Application.DisplayAlerts = True
End Sub
What I now need to do is get the sPATH var to change depending on the current MM-YY and point to the corresponding Dir.
Any Ideas on ho I can do this ?
Thanks ( as always )