Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Retrieving data from online excel spreadsheet.

Hi.

I've created a workbook that retrieves data from an online spreadsheet
once a day. - The problem is that it seems like the data is not
updated in online workbook when I open it (even though it is).

I figured the problem was the cache - so I found a macro that clears
the cache, but it didn't help. It feels like excel keeps opening some
old tmp file? But I can't figure out where this "tmp" file is located?
Or if it might be another issue?

The code (as a snippet) is shown beneath.


Public Declare Function DeleteUrlCacheEntry Lib "wininet" _
Alias "DeleteUrlCacheEntryA" _
(ByVal lpszUrlName As String) As Long

Sub Mac()
Dim FileLink as string

FileLink = "http://www.ftnet.dk/graphics/Finanstilsynet/Mediafiles/
newdoc/" _
& "Diskonteringsrente/Justeret_diskonteringssatser.xls"

Call DeleteUrlCacheEntry(FileLink)

Workbooks.Open Filename:=FileLink

End Sub

I know this is difficult for you to test, since the spreadsheet is
only updated once a day (before lunch GMT+1) - but you've might run
into the same issue? Hope that there is an easy solution.
Reply
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
(World Cup spreadsheet Excel program) - .nzb www.vmp-online.co.uk (1/1) denhurk[_2_] Excel Discussion (Misc queries) 0 March 9th 10 05:59 PM
Retrieving Data: Speed of beating down rows vs retrieving from array? (PeteCresswell) Excel Programming 2 July 9th 07 03:30 PM
Associate an e-mailed Excel spreadsheet with Office Online davidchicks Excel Discussion (Misc queries) 1 July 11th 06 07:02 PM
Retrieving previously entered userform data from saved spreadsheet WillRn Excel Programming 1 August 10th 04 07:45 PM
Editable Excel Spreadsheet Online? [email protected] Excel Programming 0 November 10th 03 08:37 PM


All times are GMT +1. The time now is 03:49 PM.

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

About Us

"It's about Microsoft Excel"