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

CurrentURL fails with Class Not Registered #44

Open
GCuser99 opened this issue Dec 30, 2021 · 1 comment
Open

CurrentURL fails with Class Not Registered #44

GCuser99 opened this issue Dec 30, 2021 · 1 comment

Comments

@GCuser99
Copy link

GCuser99 commented Dec 30, 2021

I get a Class Not Registered error on my 64bit Excel/Windows when I try to run CurrentURL. I tested on two machines, one older Windows 10, and one brand new Windows 11 - both failed. In order for this to work, it may require a 64-bit user to install a 32-bit version of MS Script Control dll? Search the web for "Class Not Registered script control vba" for more info...

However, it does work when I replace the "With" structure with:

CurrentURL = Execute(CMD_GET_CURRENT_URL, data)

or

CurrentURL = Replace(Execute(CMD_GET_CURRENT_URL, Data), "data:,", "")
@GCuser99
Copy link
Author

GCuser99 commented Jan 1, 2022

See @ezagdd's fix in Issue 13

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

1 participant