LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Update links with automation VB.NET

Does anyone know how to programmatically update links in
an Excel Workbook **Saved as .htm (Excel format still,
but .htm)*** (without alerts, and the file must be closed
afterward.
The file contains links to another workbook and functions
such as =now() -- perfect to test if it's updating.

I thought I should simply open the file, save it then
close it. My strategy, however, does not work so simply.

Here's basically what I do.

Dim objExcel As New Excel.Application()
objExcel.Workbooks.Open("C:\Samia.xls", True, False)
objExcel.DisplayAlerts = False
objExcel.Workbooks.Close()
objExcel = Nothing

the section parameter of workbooks.open is UpdateLinks as
Object... doesn't putting True make it Update the links???

Result: links are not updated.

Thanks.

Samia.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Links Carlo New Users to Excel 0 July 16th 08 02:48 PM
Update links box gives Continue or Edit Links dialog KarenF Excel Discussion (Misc queries) 0 May 18th 07 01:17 PM
update links jocke Excel Discussion (Misc queries) 1 March 4th 06 06:49 PM
can't update links...can't find links GJR3599 Excel Discussion (Misc queries) 1 April 4th 05 04:56 PM
Update Links JacoH Excel Worksheet Functions 1 March 8th 05 02:48 PM


All times are GMT +1. The time now is 10:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"