Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Feb 17, 2015
Messages
8
Location
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
 
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