I've got a problem with my project. The application is about 5 years old and has been in constant development throughout that time. Today though, I've started getting a weird error. Error 16, expression too complex.

The line it breaks on is:
Code:
ScrollIncrement = 1
ScrollIncrement is a long integer variable which is private to the sub.

According to MSDN, this shouldn't happen. Has anyone else come across this problem before?