Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / May 2006

Tip: Looking for answers? Try searching our database.

Turn off Link resolution?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marc Miller - 25 May 2006 13:24 GMT
I'm programming Excel from VB.NET, so maybe I don't know how to
express my problem correctly.  Forgive me.

I need to programmatically update links in cells that refer to workbooks
on a network share.  However, the share in the update does not yet
exist.  I can successfully update a link however, if it doesn't exist yet,
Excel
pops up a dialog that expects the user to locate the new link.

Is there any way to suppress that behavior until I can update all my links
and close the workbook?  I save the original workbook to a new workbook
after updating.

TIA Much!
Joachim Van den Bogaert - 26 May 2006 08:38 GMT
For C# there is a property of the _Workbook interface that is called
UpdateLinks.

If you switch it off before you start editing the Workbook and on
before you save it +

call the method UpdateLink()
http://msdn2.microsoft.com/en-us/library/microsoft.office.tools.excel.workbook.u
pdatelink.aspx


It shouldn't be too difficult to put this into VB

Cheers

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.