Skip to Content
0
Former Member
Sep 09, 2013 at 08:02 AM

Closing workbook from VBA

293 Views

Hi.

I have workbook with macro which formats result of query and saves it as pdf file on user's pc.

At the end of execution macro should close current workbook.

I use the code:

ActiveWorkbook.Close (False)

but critical error occurs!

How can i solve this problem?