When exporting a datatable in UFT, how do you make the file name dynamic so that it dosent overwrite previous save?
Question ID:
107335
♥ 0 |
I have code working to export a datatable to an excel file on my desktop but it seems that if ran again it will just continue to over write that file. Is there a way to make the file name dynamic so that each time I run the script an the excel file is saved to the desktop and dosent over write the previous file? I was thinking about just having a date populate in the name…any ideas?
Marked as spam
|
Answers (1)