Choose current month dynamically

Hi @Justine

You don’t need to change in this expression

Year = Now.Year.Tostring 

Monthnum =DateTime.Now..AddMonths(-1)ToString("MM")

MonthMMM = DateTime.Now..AddMonths(-1)ToString("MMM")

“V:\Finance\Systems-Risk-ERM\OrderToCash\C2C\ACRA Biz Profile\"+Year+"\"+Monthnum+". "+MonthMMM

Check out the Monthnum & MonthMMM expression above

Regards
Gokul

1 Like