Excel VBA for opening a file with changing in the file name every month -
i want vba code open file name changing every month
chdir "s:\credit_risk\mis\consolidated customer profile macro\securities" workbooks.open filename:= _ "s:\credit_risk\mis\consolidated customer profile macro\securities\enterprise pending cases @ end of oct.2016.xls"
any 1 can help
workbooks.open filename:= _ "s:\credit_risk\mis\consolidated customer profile macro\securities\enterprise pending cases @ end of " & format(date, "mmm.yyyy") & ".xls"
Comments
Post a Comment