I am trying to compile my code on a new machine and for some reason the compiler will not recognize the mid or string$ function. When looking through the object browser it says these functions are contained in the string class within VBA, whose DLL file is vba6.dll. I have a reference to vba6.dll in my references but it still wont recognize the string functions. Does anyone have any clue??? Please help.