Solved

macro to enable contents on data connection and links

Posted on 2014-01-09
2
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

728 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