LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Is Excel "caching" pages ?

Hello,
As you asked, I revert to the subject:
I've tried all of the suggestions : they all work sucessfully.
Only the FindKill of Bernie Deitrick poses problem because of the "myfile*"
which, in this case, cannot be precisely defined.
So : a big thank you

NOW: In this specific case, I came to think that a full refresh was not
necessary.
In fact, IF I could just access two cells of the web-site resident .xls
file, I could accomplish my update as well.

QUESTION: how can I get the contents of
http://www.MYSITE.be/TestPHP/profsactual.xls
Range ("AJ64") and Range("AK64")
(my Excel 97 SR-2 is localized in French and I keep using Excel97 when
developing for others just for compatibility reasons)
I think this could be done even without opening the file ?

Another one more way would be to access to the mysql dbase from which the
..xls file is derived : but, here again, this might pose problems when porting
to different users who don't necessary have the right references checked.

This is really an interesting thread and I do appreciate the collaboration
of all of you.
regards from Belgium.
Hervé+




"Dave Peterson" wrote:

This was posted by Tim Williams:

From: Tim Williams - view profile
Date: Sat, Feb 8 2003 10:11 pm
Email: "Tim Williams" <saxifrax@pacbell*dot*net
Groups: microsoft.public.excel.programming


Have not tried it with an .xls file, but the following always works with web
content (.html etc)

file2 = "http://mysite/myfile.xls?blah=" & Format(Time, "hhmmss")
Workbooks.open filename:= file2


The dummy querystring forces a reload rather than a fetch from the cache,
since it's considered part of the URL. It's ignored by the webserver
however.


Tim.

====
I've never used it.

If you try it, please post back with your results.


affordsol wrote:

Hi everyone !

In my Excel application, I use the following code to get a table from my web
site:
Sub ReadWeb()
Workbooks.OpenText FileName:="http://www.MYSITE.be/TestPHP/profsactual.xls"
End Sub

To my greatest surprise, the output does NOT reflect the actual changes done
to that file !

Is Excel using some "caching" as IE does ????

Thanks and regards from Belgium,
Hervé+


--

Dave Peterson

 
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Browse a multi-pages "microsoft word document" object in Excel 200 dapanpan Excel Discussion (Misc queries) 0 March 22nd 08 06:20 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Excel printing "additional" blank pages? marsulein Excel Discussion (Misc queries) 1 June 30th 06 12:51 PM
Linking two "total" pages to create a "Complete Total" page Jordon Excel Worksheet Functions 0 January 10th 06 11:18 PM


All times are GMT +1. The time now is 04:35 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"