Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Eric,
That formula, when placed into a cell, works for me to get connected to them. I presumed you were trying to connect from a link in a cell. If the value in A1 is actually a date and not text, then just change the references to NOW() to A1 in the formula: =HYPERLINK("http://www.hkex.com.hk/futures/futuresdayrpt/hsio" & RIGHT(YEAR(A1),2) & IF(MONTH(A1)<10,"0" & MONTH(A1),MONTH(A1)) & IF(DAY(A1)<10,"0" & DAY(A1),DAY(A1)) & ".htm","View Todays Updates") remember, that's all one line - not actually broken up like this forum tends to do to long formulas. "Eric" wrote: If the date is given in cell A1 [2-Jan-07], do you have any suggestion on how to link the date from cell A1 in 070102 format? Thank you very much Eric "JLatham" wrote: Try this - it's all one formula: =HYPERLINK("http://www.hkex.com.hk/futures/futuresdayrpt/hsio" & RIGHT(YEAR(NOW()),2) & IF(MONTH(NOW())<10,"0" & MONTH(NOW()),MONTH(NOW())) & IF(DAY(NOW())<10,"0" & DAY(NOW()),DAY(NOW())) & ".htm","View Todays Updates") "Eric" wrote: Does anyone know how to modify the web link for retrieving data from external source? such as http://www.hkex.com.hk/futures/futur...hsio070102.htm This parameter "http://www.hkex.com.hk/futures/futuresdayrpt/hsio" does not change, but this part "070102.htm" will be changed based on the current date. I cannot use indirect function under external linkage, does anyone have any idea on solving this problem? Thank you in advance Eric |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hidden external data link | Excel Discussion (Misc queries) | |||
sorting 2 colums of numbers and incremening them down | Excel Discussion (Misc queries) | |||
Excel + user input + external data (URL manipulation) | Excel Discussion (Misc queries) | |||
Inserting a new line when external data changes | Excel Discussion (Misc queries) | |||
Using "Get External Data" | Excel Worksheet Functions |