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!
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!
When do you get the error?
If posting code please use code tags, see here.
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!
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.
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';
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.
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!
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 )
Thanks Alan for your help, appreciated!
Sorry it seams like there is an issue with this code:
Capture1.PNG
Someone knows how to correct this?HTML Code:
Big thanks!
D' abord (le 'format' est un besoin d'apres); essayez:
Please Login or Register to view this content.
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?
Many thanks!Please Login or Register to view this content.
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.
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?
Many thanks!HTML Code:
Last edited by scoclu; 01-09-2018 at 04:41 PM.
Remove 'Option Explicit' everywhere you find it.Sorry I still have a Compile error: Variable not defined...
What's highlighted when you get the error 'Compile error: Variable not defined'?
Can you upload the workbook as it is now?
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!
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.
PS You might also want to consider using more descriptive names for the controls on the form.Please Login or Register to view this content.
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!
What error are you getting and under what circumstances do you get it?
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,
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks