To Rename Downloaded Excel File

How To Rename Downloaded File as This Years + Last _ Week No of This Year?

Example
202217.xlsx

Hello @anmita

You can use copy file and move it to new folder and provide the new name.You can refer the below post to get an idea on the format.

Hi @anmita,

You can copy your file in the format you want using the following path.

"your destination file path" + now.Year.ToString +CultureInfo.InvariantCulture.Calendar.GetWeekOfYear(now.AddDays(-7), CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday).ToString + “.xlsx”

If you get culturinfo not found error
You have to go to the import steps and add System.Globalization. You can do this by following the link below.

Regards,
MY

Thanks @muhammedyuzuak

Thanks @Rahul_Unnikrishnan for Reference