Robin gave you some code that you could use if you are opening a workbook
programmatically. If you mean when you open it manually, there is not way
to do that if you don't want the links updated. If you want to allow the
links to be updated, you can remove the check in the Options dialog
(tools=>Options=>Edit tab) for Ask to Update Automatic links. This question
is asked prior to any macros running and there is no setting which removes
the prompt (in Excel 97. In Excel 2002, they added a setting under the
Edit=>Links menu).