none
ActiveWorkbook.Close (savechanges)=false

    Question

  • hi

    i am getting problem with

    ActiveWorkbook.Close (savechanges) = false

    its saying error

     

    regards,

    brijesh

    Friday, May 02, 2008 2:25 PM

Answers

  • If this is .NET interop with Excel try this instead...

     

    ActiveWorkbook.Close (SaveChanges:= False)

    or just

    ActiveWorkbook.Close (False)

     

    Friday, May 02, 2008 4:31 PM