TransferSpreadsheet

C

Chris

I'm using the TransferSpreadsheet function in a macro, which I have done
numerous times, but instead of overwriting the existing spreadsheet each
time it is ran it appends to it. Any suggestions as to why this problem is
happening? I've never experienced this before.



Thanks,

Chris
 
B

bob

The best workaround for this is to use VBA and KILL to delete the file first

If VBA is not your thing, create a batch file that deletes the file and run
the batch file from a macro.

Bob Galway
 
C

Chris

Thanks bob. Would it be possible for you to give me an example of creating
the batch file and where in the macro I add it? I've never done this
before.

Thanks,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top