Skip to content

Stop button doesn't work when API referenced from Addin #4

Description

@Greedquest

It seems Excel loads addins as quite separate files, and interestingly the Stop button does not affect VBA loaded in the addin. This could certainly have some positives, in ensuring certain objects persist beyond timer destruction, allowing for safe cleanup.

Couple of solutions

  • Move out of addin and into self extractor for sharing code, this way everything is as normal
  • Get user code to supply the Userform ref that hosts the timer
  • Create a VBA function that persists after stop button press and does something clever. This could also stop the End statement crashes perhaps

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions