1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

VBA functions seem to disapear or disfunction

Discussion in 'Business Applications' started by ekoren, Jan 17, 2003.

Thread Status:
Not open for further replies.
  1. ekoren

    ekoren Thread Starter

    Joined:
    Jun 2, 2002
    Messages:
    39
    i have this VBA program (on access in office XP). Now, when i try to activate some string handling functions like Split or Replace (full name VBA.Split, VBA.Replace) the debugger stops in their lines with the next error message:
    "invalid procedure call or argument"(run-time error #5)
    i tried to perform several watches on these functions, but it always presented the same message, no matter what arguments i entered. the weirdest thing of all in here, that sometimes after i restarted my computer and tried it on again, it worked just fine, but today even that doesn't seem to help.
    I have also checked the VBA references, and all that is needed is in there, and i can also see these functions and their details in the object browser.
    any ideas how i can bring back to life those functions?

    ekoren
     
  2. AbvAvgUser

    AbvAvgUser

    Joined:
    Oct 3, 2002
    Messages:
    2,281
    I am neither a MS Office expert nor VBA expert.

    Some .dll file containing the codes of these functions must have been corrupted.

    There is a repair function in Access 2000 under the Help menu. Try that. It may repair or replace the corrupted .dll file.

    If repair doesn't solve ir, triy to uninstall and re-install Office XP. That may solve it.

    Hope your Anti-Virus is updated and you have checked your system for viruses.
     
  3. Anne Troy

    Anne Troy

    Joined:
    Feb 14, 1999
    Messages:
    11,746
    First Name:
    Anne
    This is clearly an Access question, so I'll move it where the Access geeks hang out. :)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - functions seem disapear
  1. Gevans0666
    Replies:
    5
    Views:
    429
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/113698

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice