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

Statement too complex error #222

Open
HoLIMENt opened this issue Feb 1, 2022 · 2 comments
Open

Statement too complex error #222

HoLIMENt opened this issue Feb 1, 2022 · 2 comments

Comments

@HoLIMENt
Copy link

HoLIMENt commented Feb 1, 2022

Hi,

immediate upon import of the JsonConverter.bas file v2.3.1 into Visual Basic (v7.1 / 1116, part of MS Office 365 ProPlus x64), I receive the following error: "Statement too complex"

Could someone please help? From what I read this could be due to a a limit of "prolonging" lines with _ at the end, but with ~6K lines of code the cause isn't so easy to nail down.
https://stackoverflow.com/questions/49411291/run-time-error-40046-statement-too-complex

Thanks and best!

@karkados
Copy link

Hi,

have you downloaded the code correctly? I first tried right click and save. This will create html code that is different from the .bas code. Try downloading the whole project as zip (top right corner, green "code" button). This way, I was able to import the code correctly into Word.

Best

@HoLIMENt
Copy link
Author

Hi,

ah, indeed, that was the issue. Thanks a lot!
There were some URL at the start of the .bas file, so I overlooked this strange saving behaviour.

Best!

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