Hello,
I need to modify my code which I use for opening a file for today -1 however, I need the file to select the last business day excluding WEEKENDS. I am using this as a sub
'TO OPEN THE FILE TO FILTER AND COPY
Dim yestdate As String
yestdate = Format(Date - 1, "ddmm") & ".xls"
Workbooks.Open Filename:="I:\Report\amendments" & yestdate
if someone could please help for a more useful code.
thanks JL
I need to modify my code which I use for opening a file for today -1 however, I need the file to select the last business day excluding WEEKENDS. I am using this as a sub
'TO OPEN THE FILE TO FILTER AND COPY
Dim yestdate As String
yestdate = Format(Date - 1, "ddmm") & ".xls"
Workbooks.Open Filename:="I:\Report\amendments" & yestdate
if someone could please help for a more useful code.
thanks JL