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

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -