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: 267
Default referencing web site object

Hi have been using a dump routine posted by Joel to ascertain the reference
for objects in several web pages including three for mileage calculation.
Am unable to return the mileage by road output from the following web page,

URL = "http://www.freemaptools.com/distance-between-uk-postcodes.htm"

am sure the reference is :

Set dis = IE.document.getElementsByTagname("INPUT")
Set distance = dis.Item(7)
Worksheets("sheet1").Range("a1") = distance.innertext

but get no value returned from this! Should I be using a different suffix
other than "innertext"?
 
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
Referencing two versions Object models Cory Excel Programming 4 February 9th 08 07:19 PM
Referencing Object Names with Variable jbl25[_8_] Excel Programming 1 August 26th 05 12:44 AM
Referencing worksheet CODENAME in a chart object. Bing Excel Programming 2 February 14th 05 07:08 PM
Re referencing an object rci Excel Programming 1 February 1st 04 04:49 AM
Referencing a ComboBox control from a Workbook Object? debartsa Excel Programming 3 December 9th 03 08:43 PM


All times are GMT +1. The time now is 06:39 AM.

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"