View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Robert_L_Ross Robert_L_Ross is offline
external usenet poster
 
Posts: 35
Default Close specific workbook

I have one workbook that has a macro that imports a .txt or .dat file,
processes it then saves it to a specified location.

At the end of the macro, I tried closing the ActiveWorkbook but that ended
up being the 'new' file I created.

How do I close the 'source' file (the filet that is running the macro)?