macro to enable contents on data connection and links

Hi Expert's excel 2007

need a macro to enable both the data connections and links...when workbook opens at present it asking me to check the boxes.

Getting microsoft window saying some active contents my be disabled
route217Asked:
Who is Participating?
 
Nick DennyConnect With a Mentor Commented:
Try adding "UpdateLinks:=False"

e.g.

Workbooks.Open Filename:="\\jjjdje.com\file2\test.xlsm", UpdateLinks:=False

Cheers
0
 
route217Author Commented:
Cheers nick...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.