Is there a way to remove the pop ups and warnings? because I have one rather... bulky...
"This action will reset your project" which appears I don't know how many times when running a macro.
I specify that clicking on "ok" doesn't change anything in the end, at least I don't have the impression of it, since the macro works.
Besides this pop-up actually... Which means that the macro used to automate the bursula, well... doesn't automate it so much anymore since we still have to validate all these messages ....
I tried the "Application.DisplayAlerts = False" but without result
Mmh... I'll try again with it, I may have placed it wrongly, because I have several modules to find my way around, I may not have put it in the right place ^^'
but it's true that before coming to ask my question I rummaged a little on the web and I didn't find anything else
What you indicate is on the contrary to redisplay an error message that no longer appears.
On the other hand, the idea is good, but we should know if the error message @y.bourbon is talking about has a "Do not show this message again" checkbox. If this is the case, once checked, the message will appear in the list indicated.
Thank you Bart =) After reading your message I was looked at and I found indeed some very annoying messages because they were obvious (like "you can't record this, it's read only"... At the same time, I see it! it's written at the top that it's read-only!)
But the message "This action will reset your project" was not there, so I opened the solidworks macro editor and looked in the options if there was something of the same kind.
And I disabled everything that is tooltips and error messages for "managed" errors!
And after a few tests it seems to work
Thank you to you and thank you to Lucas and Benoit for their answers as well!
Ps: for the moment my macro is only dedicated to one assembly. But as soon as I had generalized it I would share it, because I think it can be rather useful on large assemblies (small ones too by the way) when there are one or more sides to modify and you don't want to open each file =)
Benoit: indeed, I didn't find the message precisely, I think that the manipulation I did will surprise me when I make some mistakes x)
Lucas: I haven't used any UserForm ^^' it's all done from modules and an ActiveX button. To avoid these unload problems, head in the air as I am, I would have necessarily forgotten to use it by the way