PDA

View Full Version : Strange things happening



MacDaddy
04-12-2010, 02:47 AM
Odd things have started to happen to my project recently.

Code which has been working for months has suddenly stopped working. Random macros cease to function. Things are also being forgotten, for example a user form with a date picker no longer has a date picker and won't run because it can't initialize. I add the date picker again and save but next time I open the file it has gone again.

Nobody else can change anything in the project as it's all locked down with password protection and I certainly haven't changed anything.

Why would the macros suddenly start to error when they've been working fine for ages?

The project is run under a Citrix environment, would that have any impact? Has anybody come across these kinds of gremlins before?

Thanks in advance,

Paul

mdmackillop
04-12-2010, 05:14 AM
Check for missing references and duplicate procedure names. If you're not using Option Explicit, add it to each module and compile your code, correcting any errors found. You could also try Code Cleaner (http://www.appspro.com/Utilities/CodeCleaner.htm)
If you still have issues, maybe you can post the problem codes.