+ Reply to Thread
Results 1 to 21 of 21

Userform: "The object invoked has disconnected from its clients" (error message)

  1. #1
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Userform: "The object invoked has disconnected from its clients" (error message)

    Hello All,
    Starting to be discouraged by this error message: "The object invoked has disconnected from its clients".
    Is anyone can help me find where are the errors, please?
    Many thanks for your time & help!
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    When do you get the error?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    I have this error when I click on the "ShowUserform" button in Xls, then "Choix de couleur" right button, this error message appears and Xls crashes...
    Thanks!

  4. #4
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Userform: (error message) ??????........Don't PM and ask me unless it is simple... !!

    Hi,
    I got your PM asking for help…, but do not really have too much experience with UserForms, especially with large and complicated ones like yours..

    I could easily see one error after hitting “"Choix de couleur" by selecting Debug option after the error occurred, and then in the VB Editor I hovered over the error place and found this
    : Screenshot: https://imgur.com/lnmKcXH
    Errorscoclu251x141 32_8KB.JPG

    This mod will prevent that error by removing the offending “$” in “1.00 $”

    Please Login or Register  to view this content.

    But if the issue is any more complicated then I think it is beyond my confidence..

    Alan
    Last edited by Doc.AElstein; 01-09-2018 at 12:24 PM.

  5. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    On n'a pas besoin d 'Initiliaze' que pour remplir des combobxes et les Listboxes.
    Quand on utilise checkboxes 1 seul par choix suffit.
    Tu peux jeter les checkboxes completeoui1 ... completeoui6 dans la poubelle.
    J'ai changé les noms des checkboxe CompleteNoN1 ... completenon6 au C_01 ... C_09.

    Delete all code in Userform_ Initialize.
    You should enter the default properties of controls in design mode.
    Please remove worksheets 'Download1' & 'download3';



  6. #6
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: (error message) ??????........Don't PM and ask me unless it is simple... !!

    Thanks so much Norie & Alan & Snb for your help with this file!
    Alan I made the change you recommended, but I still have this:

    Capture.PNG

    Can you please help again?
    Thanks a lot,
    Last edited by scoclu; 01-09-2018 at 12:39 PM.

  7. #7
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Hello Snb, and thanks for your advice!
    Could you please be more specific? I have an issue with Private Sub UserForm_Initialize()
    But how to replace these codes?

    Many thanks!

  8. #8
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Sorry I can't help any more, it is way out of my depth
    Alan

    Edit: thanks for the rep thingy
    Last edited by Doc.AElstein; 01-09-2018 at 02:32 PM.
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

  9. #9
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Thanks Alan for your help, appreciated!

  10. #10
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Sorry it seams like there is an issue with this code:

    Capture1.PNG

    HTML Code: 
    Someone knows how to correct this?
    Big thanks!

  11. #11
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    D' abord (le 'format' est un besoin d'apres); essayez:

    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Thanks Snb, but by doing so, we are loosing the format and $ sign:

    Capture2.PNG

    should be:

    Capture3.PNG

    This code below was working... so why a debug is needed?

    Please Login or Register  to view this content.
    Many thanks!

  13. #13
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    You indicated in
    https://www.excelforum.com/excel-pro...ml#post4817453
    that this codeline gave an error !

    Please Login or Register  to view this content.
    Last edited by snb; 01-09-2018 at 04:21 PM.

  14. #14
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Thanks Snb! Sorry I still have a Compile error: Variable not defined...
    Please, did you add something else?

    Also, I followed your recommendations for the Userform_Initialize, trying to remove everything.
    How to adjust these codes? Where should they go?

    HTML Code: 
    Many thanks!
    Last edited by scoclu; 01-09-2018 at 04:41 PM.

  15. #15
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Sorry I still have a Compile error: Variable not defined...
    Remove 'Option Explicit' everywhere you find it.

  16. #16
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    What's highlighted when you get the error 'Compile error: Variable not defined'?

    Can you upload the workbook as it is now?

  17. #17
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Many thanks Snb & Norie for your help,
    I follow you Snb: I removed all "Option Explicit"... but have a Run-time error "424" Object required...
    Here is the last version.
    Any idea?
    Thanks!
    Attached Files Attached Files

  18. #18
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Sounds like you don't have a textbox with the name Texbox3768.

    Should it actually be TextBox3768?

    By the way, instead of using textboxname (or whatever) to get the value in the textbox try getting it explicitly using textboxname.Value

    For example.
    Please Login or Register  to view this content.
    PS You might also want to consider using more descriptive names for the controls on the form.

  19. #19
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Many thanks Norie for your adjustment & recommendations.
    I have made these changes but I have still the debugger on Private Sub UserForm_Initialize() and Private Sub TextBox3768_Change()
    Any idea?
    Big thanks!
    Attached Files Attached Files

  20. #20
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    What error are you getting and under what circumstances do you get it?

  21. #21
    Registered User
    Join Date
    11-14-2017
    Location
    Montreal, Canada
    MS-Off Ver
    Office 365
    Posts
    38

    Re: Userform: "The object invoked has disconnected from its clients" (error message)

    Hello Norie,
    I have the same error message as this morning: "The object invoked has disconnected from its clients"
    when I click on the "ShowUserform" button in Xls, then "Choix de couleur" (right button), this error message appears and Xls crashes...
    Thanks a lot,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA Error: "The object invoked has disconnected from its clients"
    By elevate_yourself in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-30-2014, 03:57 PM
  2. "Automation error: The object invoked has disconnected from its clients"
    By nozombie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2014, 05:53 PM
  3. Recieving the error "the object invoked has disconnected from its clients"
    By chidmas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-13-2013, 07:52 AM
  4. Replies: 0
    Last Post: 05-23-2013, 09:12 AM
  5. "The object invoked has disconnected from its clients"
    By ianpwilliams in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2013, 01:01 PM
  6. Error Message : The object invoked has disconnected from its clients. Need help in VBA
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2012, 07:41 AM
  7. Automation Error: "The object invoked has disconnected from its clients"
    By cartman44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-03-2009, 04:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1