NileshAPatel
New Member
- Joined
- May 29, 2021
- Messages
- 26
- Office Version
- 365
- 2019
- Platform
- Windows
Hi
I had written vba code to open multiple link from excel to browser "edge" which starts downloading excel file with dedicated name.
But wants code to overwrite file if already exist.
i.e once link open it started downloading file i.e. "CustomerOrderReport.xls" in folder "C:\Users\MIS\Downloads\"
but if same name file is already exist then it create new one with name "CustomerOrderReport (1).xls
I wants to overwrite file instead of creating new one.
Thanks in advance
Regards
Nilesh Patel
I had written vba code to open multiple link from excel to browser "edge" which starts downloading excel file with dedicated name.
But wants code to overwrite file if already exist.
i.e once link open it started downloading file i.e. "CustomerOrderReport.xls" in folder "C:\Users\MIS\Downloads\"
but if same name file is already exist then it create new one with name "CustomerOrderReport (1).xls
I wants to overwrite file instead of creating new one.
Thanks in advance
Regards
Nilesh Patel