Consulting

Results 1 to 2 of 2

Thread: Strange things happening

  1. #1

    Strange things happening

    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
    Keep the rubber side down and the shiny side up

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    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
    If you still have issues, maybe you can post the problem codes.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •