View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim Skrydlak Jim Skrydlak is offline
external usenet poster
 
Posts: 23
Default Replace an Existing File

I am working on an application in VBA that will read in yesterday's file,
save it as filename_OLD.xls, then replace the data in it with today's data
and save it as filename.xls. How do I replace the existing filename_OLD.xls
without having any messages or prompts appear? The VBA help tells me
everything except what I want to know. I've tried .SaveAs and doing a
..DeleteFile before saving the new version, but I've had problems with both.