Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant Install Add-in #574

Open
almontaser73 opened this issue Dec 24, 2024 · 1 comment
Open

Cant Install Add-in #574

almontaser73 opened this issue Dec 24, 2024 · 1 comment

Comments

@almontaser73
Copy link

When I click the Install Add-in button, I get the following error message

Run-time error '-2147024894 (80070002)':
Automation error
The system cannot find the file specified.
Screenshot 2024-12-24 203158
When I click on Debug, the error appears in the following line

strTest = objShell.RegRead(strOldPath)

Screenshot 2024-12-24 203247

In the RunUpgrades subroutine

@joyfullservice
Copy link
Owner

Thanks for reporting this! What are your current VBA error handling settings? The following screenshot shows the recommended (supported) setting:

image

If you set VBA to break on all errors, the code may break even after the On Error Resume Next statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants