Hello,
How to convert date in column to date format (“dd/MM/yyyy”).
test.xlsx.xlsx (8.4 KB)
Note: I have to convert all for files in folder.
Hello,
How to convert date in column to date format (“dd/MM/yyyy”).
test.xlsx.xlsx (8.4 KB)
Note: I have to convert all for files in folder.
@Srini84 ,
I have referred the same solution and used vb .net code. its not changing the format in file
Understood, then you need to look at the VBA code for that
Check below link for your reference
https://www.wallstreetmojo.com/vba-format-date/
Once you ready the script save as .txt use Invoke VBA code activity to run and check
Hope this may help you
Thanks,
Srini
You can use for each file in folder to get each excel file
Inside loop use format cells activity and format the excel cells you need to the required format
Select custom and tehn give dd/MM/yyyy
Cheers
@Srini84 ,
Please find the below xaml file,its not giving any error , and format is same as old.
Sequence.xaml (10.4 KB)
@Anil_G ,
Thank you the reply. Please find the below file.I am using invoke code activity to change the date format but its not changing.
Sequence.xaml (10.4 KB)
Instead of invoke please use format cells activity which is under modern excel activities
Cheers
it is changing the dt
done with
But when the updated data is needed to be reflected at the excel you would have to write it back to excel
For me its not working, I can see the file is getting modified to latest time.
May I know what is modified
the dates are modified? Or the format you wanted is not coming?
Cheers
@Anil_G ,
I want the date format in (“dd/MM/yyyy”).
When I run the process, its file getting modified(Last Modified Time
) .but the date format within the file is not changing.
@Anil_G ,
Yes ,I have given the details.
I just tried and it is working as expected. Can you send me the file which is not workign please… or as a test can you create one dummy file and test if that si gettign modified
Provided format is with - while entering but repalced in code with /
cheers
@Anil_G
PFA as example.& I want to perform is for multiple files where range is dynamic.
Payments (2).xlsx (8.5 KB)
@ppr ,
Thank you , This solution also works.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.