Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

UserFrom Selection and Reload

Status
Not open for further replies.

Kant1

Mechanical
Feb 17, 2015
8
FR
Hello evrybody,
I have two problem with my macro :
1)I load a USerForm no modal and I ask the user to select different kind of item with SelectElement2 but when then UserFrom appears I can select anything in the product tree. My macro is launched from Excel my be the problem come from here but I have to.
2)On my UserForm I have a reload button but when I click on it I have an error message "It is illegal to call out while inside message filter" may be cause when I click I am at this line

Status = selection1.SelectElement2(InputObjectType, "Selectionner nouveau point d'origine", False)

If you have any idees thanks
 
Replies continue below

Recommended for you

I found a solution using SelectElement3 and do not reset my usrform but only my captation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top