Dear All
I’ve got a macro that creates a spreadhseet from provided data, the macro creates the same spreadsheet every time ti runs (daily usually). I’m trying to avoid the user having to click the OK button every time it replaces ‘yesterday’s’ file. Is there a way of moving, deleting or generally getting rid of the old file??
I’ve seen the DeleteFile method, but can’t make out the bit about the FileSystemIObject. How should i be using this, if at all?
Thanks
Ian