Reputation:
I opened a csv file and copy the contents.
I activated an excel file and have the copied contents from csv file pasted into excel file.
Now, how do I close the csv file programmatically?
Upvotes: 0
Views: 361
Reputation: 2877
This should do it ..
Workbooks("MYCSV_File.CSV").Close SaveChanges:=False
Upvotes: 1