0

In Excel 2016 VBA I used:

kill ThisWorkbook.path & "\reports" & "\*.csv"

to remove all the .csv files in the directory - which worked fine.

My problem is that i want use:

path = ThisWorkbook.path & "\reports\"

RmDir path

to delete the folder. I cant seem to figure out what im doing wrong.

Community
  • 1
  • 1

0 Answers0