cristianbuse / VBA-UserForm-MouseScroll

Use the Mouse Scroll Wheel to scroll VBA UserForms and Controls
MIT License
71 stars 13 forks source link

"Statement too complex" error on import #13

Closed dooniem closed 2 years ago

dooniem commented 2 years ago

Hi, I want to try out your mouse scroll solution but get the error "Statement too complex" on both the .bas and the .cls file on import. Tried in both 32bit and 64bit environment.

I'm inside VBE, rightclick and then import file. Is that wrong?

cristianbuse commented 2 years ago

Hi,

I've just tried and it works fine for me.

Maybe you've made a copy of the raw text displayed by GitHub and maybe there is some problem with new line characters. Please try downloading the zip and then import from the 'src' folder.

dooniem commented 2 years ago

Hi thanks for answering so quick. I right clicked the 2 files under "Installation" in readme.md and "Save file as". I opened the .bas file in notepad just now and see there's html formatting. The zip worked! Thanks!

cristianbuse commented 2 years ago

Glad it worked. Yeah, I think you could also copy the raw data and paste it into a text file:
img

but not the browser's Save As feature

DeerSpotter commented 1 year ago

downloading the source and using the one in zip worked for me.