Consulting

Results 1 to 2 of 2

Thread: Calculation incomplete message issues

  1. #1
    VBAX Contributor
    Joined
    Jul 2017
    Location
    Zurich
    Posts
    132
    Location

    Calculation incomplete message issues

    Hi Folks

    I've got this a macro that exports all VBA code to text files as a backup and then imports the newest version from a specific folder. Before the import, it does a backup via saveCopyAs method.
    The issue is that at times (quite seldom) I get a message like "Calculation incomplete", asking if I'd like to cancel or complete the calculation. But whatever option I chose, Excel does a fatal crash.

    Of notice is that the import/export procedure doesn't allow break-points, which means that even the tiniest issue will lead to an appcrash (as far as I understood).

    However, I want to avoid any calculations whatsoever, since they are not at all relevant at this point. I've put an Application.calculatebeforesave = false statement before the savecopyas, but again that seems useless.

    Any ideas to prevent these calculations?

  2. #2
    VBAX Expert Dave's Avatar
    Joined
    Mar 2005
    Posts
    835
    Location
    This might be of interest...
    http://www.vbaexpress.com/forum/show...ng-macro-twice
    Maybe just use copyfile code. HTH. Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •