Update all links in assembly

Hello

 

I'm a newbie to SE programming, and am writing a macro in VBA from my xls file, it controls the visibility of all assembly parts. But there is something I don't know how to do. I want to update all links before ends the macro.

 

I've read the SE help, and only found this: 'UpdateAll()' but don't know what to do with it.

 

Some help would be grateful.

 

Thanks.

Regards.

 

 

Posted by: Raúl Bxx
Post date: 11/10/2011 11:07:18 PM

2 REPLIES

RE: Update all links in assembly

Hi

 

Try this

 

Set objDoc = objApp.Documents.Open("myasm.asm")

objDoc.ActivateAll

objDoc.UpdateAll

objDoc.Close (True)

 

Eric BONNAUDET

 

Posted by: BONNAUDET eric
Post date: 11/16/2011 11:55:50 PM

RE: Update all links in assembly

Thank you very much, Eric!

 

It works fine!

 

Regards

 

Posted by: Raúl Bxx
Post date: 11/17/2011 1:34:54 AM