|
-
Dec 5th, 2005, 03:14 PM
#1
Thread Starter
Addicted Member
Suppress 'This workbook contains links...'
I am using an Excel worksheet that contains DDE links as part of a vb.net automation project. However, when I call the worksheet, I get the message "This workbook contains links to other data sources." Once I select OK to update the links everything else proceeds fine. Is there anyway to suppress this dialog and automatically update the links?
-
Dec 6th, 2005, 12:01 AM
#2
Re: Suppress 'This workbook contains links...'
Go to Tools -> Options -> Edit Tab and uncheck the option "Ask to update automatic links".
This might help you.
_______________________
CS
-
Dec 6th, 2005, 07:16 PM
#3
Fanatic Member
Re: Suppress 'This workbook contains links...'
If your doing it in code it is also in the parameter list.
VB Code:
Excel.Application.Workbooks.Open "filepath",True
-
Dec 23rd, 2005, 02:01 PM
#4
Thread Starter
Addicted Member
Re: Suppress 'This workbook contains links...'
Thanks for the replies. This is what I wound up using... it works great.
' updatelinks=3 to update or updatelinks=0 to not update
xlWB = xlApp.Workbooks.Open(xlFile, updatelinks:=3)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|