vba - Excel Macro needed which can check the downloads folder and delete all the files except the latest downloaded file -


i want make excel file following steps:

  1. delete excel files downloads folder except 1 latest downloaded file.
  2. make copy of excel file names "data.xls" , system makes "beep" sound
  3. repeat above mentioned 2 steps every 15 minutes

i can in visual basic unable implement in excel macro...

please help.. promotion depends on :-)

set reference microsoft scripting runtime. images below shows classes available in object browser. use file-related tasks in vba. did research & microsoft scripting runtime standard on windows should have it

enter image description here


Comments

Popular posts from this blog

javascript - How to diff two immutable objects -

javascript - React.js: onClick function from child to parent -

c# - How can I have the VS Debugger break in the correct location for exceptions thrown in Async methods in a Console App? -