cancel
Showing results for 
Search instead for 
Did you mean: 

How to rename the excel sheet to current date using the Business Object: MS Excel VBO and action: "Save current workbook as"

SwatiAgrawal
Level 5
I need to rename the excel sheet to current date. I am using the Business Object: MS Excel VBO and action: "Save current workbook as" I am unable to figure out how to do this. I have tried these two options. But looks like I am using wrong expressions. 

1. For Eg:    "C:\abc\def\xyz\&"FormatDate(Now(), "dd mm yyyy")".xlsx"

2. For Eg:    "C:\abc\def\xyz\&"MakeDate(Today())"&.xlsx"

Please help.

------------------------------
SWA
------------------------------
2 REPLIES 2

CristianHerrero
Level 3
Hi Swati,

Please try 
"C:\abc\def\xyz\"&MakeDate(Today())&".xlsx"
"C:\abc\def\xyz\"&FormatDate(Now(), "dd mm yyyy")&".xlsx"

Kind regards

------------------------------
Cristian Lopez
RPA configurator
Volvo Cars
Europe/London
------------------------------

MiguelCarrillo
Level 5
You can make it with this expressión inside a calc stage.

"C:\abc\def\xyz\"&FormatDate(Today(), "dd MM yyyy")&".xlsx"

------------------------------
Miguel Carrillo
------------------------------