Solved

macro to enable contents on data connection and links

Posted on 2014-01-09
2
194 Views
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
0
Comment
Question by:route217
2 Comments
 
LVL 13

Accepted Solution

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

e.g.

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

Cheers
0
 

Author Comment

by:route217
ID: 39770341
Cheers nick...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now