View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JanB[_2_] JanB[_2_] is offline
external usenet poster
 
Posts: 6
Default Closing temp worksheet without saving

Hope somebody is able to help.

I have created an macro where I am opening and using an workbook, and
then closing it again without saving it. The problem is that I cannot
close the workbook without having to clik save-yes or save-no. I do
still need to have som other excel sheets open.

I have tried to use the following code:
ActiveWorkbook.Close = False