Hi marcel
It is not possible to prevent the Macro Virus Warning via VBA or VB. I guess if it was possible it would be a useless feature. The only way this can be stopped is via Tool>Options.
To prevent Links fom Updating use:
Workbooks.Open FileName:="C:/MyDocuments/Book1.xls", UpDatelinks:=0
Dave
OzGrid Business Applications
Dave is right, however there is a work around to
this which involves saving a small loader file to
the xlstart dir.
The loader I've developed involves some API calls
to the registry and changing the registration entry.
This entry effectively disables the macro warning
when you next open excel.
I have never posted it as it can be dangerous and
you could if you wanted to do some damage.
Dave if you want to have a look I'll be glad to send it....
Ivan