macro to enable contents on data connection and links

Posted on 2014-01-09
Medium Priority
Last Modified: 2014-01-10
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
Question by:route217
LVL 13

Accepted Solution

Nick Denny earned 2000 total points
ID: 39769507
Try adding "UpdateLinks:=False"


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


Author Comment

ID: 39770341
Cheers nick...

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

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.

Join & Write a Comment

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question