Hi All,
I have written a code which uses the Save Changes: = False property of the Activeworkbook.close method. However, on running the code the user is being prompted to save the file.
The code snippet looks like this:
I have left out code which did not have relevance to the exercise (related to copying to and from workbooks)
Thanks,
ks1987
I have written a code which uses the Save Changes: = False property of the Activeworkbook.close method. However, on running the code the user is being prompted to save the file.
The code snippet looks like this:
Code:
Dim w as workbook
Set w = workbooks.add
w.Close SaveChanges:=False
I have left out code which did not have relevance to the exercise (related to copying to and from workbooks)
Thanks,
ks1987