Solved

Open Linked Excel File Without Link Message

Posted on 2013-01-25
3
366 Views
Last Modified: 2013-01-29
I am using Access to open an Excel workbook that has links in it. Is there something I can add to the "objExcel.Workbooks.Open modGlobal.g_strTemplate" code so that the Excel does not launch the "This workbook contains links" message?

Thanks.
0
Comment
Question by:Buck_Beasom
  • 2
3 Comments
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
ID: 38818443
Try this

objExcel.Workbooks.Open Filename:="C:\Workbook.xls", UpdateLinks:=False
0
 

Author Closing Comment

by:Buck_Beasom
ID: 38832039
Outstanding! Thanks.
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38832221
Glad to help.  BTW, if you need to update the links, set it to true.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

791 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