I have scenario where in i need to copy template file and move to output folder,
though i am able to copy and rename filename followed by current month and year.
output is :- VarianceAnalysis_012021.xlsx
but expected output is :- VarianceAnalysis_0121.xlsx
Need Suggestions. @NIVED_NAMBIAR
Hi put the filename as below
Thanks For the reply i tried ,but i am getting Same output no change
also you can try this, “VarianceAnalysis_012021.xlsx”.Replace(Now.ToString(“yyyy”),Now.ToString(“yy”))
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.