Event Handling


Hi there,

I came across this forum and I think someone will be able to help me with this problem. I'm a Solid Edge v.20 user and I write some programs in VBA (Excel). I'm not an advanced user and I have the following problem. I wrote a program that opens a part but if the part is linked to an assembly then appears the following message:

"This file contains link to this assembly... Do you want to open it?"

Is there anyway to get rid of this message automatically? The answer to this question would be always no.

Thanks in advance!



Posted by: Adriano Oliveira
Post date: 4/6/2009 9:51:42 AM


RE: Event Handling

Hi Corvão


Try setting Application.DisplayAlerts to False. I'm not sure what the default option is for this dialog, but I don't think the assembly will be opened.


Hope this helps



Posted by: Calum McLellan
Post date: 4/6/2009 9:22:00 PM

RE: Event Handling



Thanks for your answer. It helped a lot.I just added one line in my code and I got my problem solved.

Thank you again!



Posted by: Adriano Oliveira
Post date: 4/7/2009 2:15:38 AM