Consulting

Results 1 to 3 of 3

Thread: Userform error

  1. #1

    Userform error

    Hi Guys

    I have been working on a userform for some time now and have finally finished. It does everything i want it to do with some help from fellow forum members.

    The problem is now that i cannot get it to work anymore on other machines other than the desktop it was compiled on. I have tried similair machines both 32 and 64 bit with similiar versions of office. I have also tried saving as a macro and binary.

    When i go to save the form or clear the contents of the textbox, i get a module error "[Counta(Database!A:A)]". You will see the error (hopefully)

    I have attached a copy for desperate aid and assistance please.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,724
    Location
    Seems to work OK here

    On the failing PCs, you can try to check References

    In the VBE, Tools, References. Look for #MISSING

    Mine looks like this

    Capture.JPG
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  3. #3
    Knowledge Base Approver VBAX Wizard
    Joined
    Apr 2012
    Posts
    5,642
    Before distributing I'd suggest to review the whole concept and to remove all redundant code.
    E,g. Why using Textboxes in Sheet5 where cells can serve the same purpose ?

    Here the missing library is windows common controls-2.6.0

Tags for this Thread

Posting Permissions

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