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
Please log in to participate..