Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default IE automation, Frames content reading problem, excel 2003 and 2007

Hi,

I'm trying to read information from web site with frames. I have
developed following code which allows me to connect to the site, pick
desired frame and later I cannot read frame site contents, an error
occures:

Dim doc As HTMLDocument
Dim wbframe As HTMLFrameElement
Dim wbtable As HTMLTable
Dim oIE As SHDocVw.InternetExplorer


Set doc = oIE.document.frames(0).document ' here I get
error: Access is denied
Set wbtable = doc.getElementsByTagName("table")(0)
Debug.Print doc.body.innerHTML

Thanks in advance

Piotr

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
Automation multiversion excel 2003-2007 bull73 Excel Programming 5 December 19th 08 07:12 PM
Automation works with Excel 2003 but NOT Excel 2007 SBilo Excel Programming 5 August 30th 07 08:28 PM
No ActiveX controls when reading 2007 file formats into Excel 2003 Tony Excel Discussion (Misc queries) 0 May 30th 07 07:16 PM
Need Help with Freezing/Splitting 2 Frames in Excel 2003 Tyn Excel Discussion (Misc queries) 3 February 13th 07 06:19 PM
Excel 2003 c++ automation problem. Ken Excel Worksheet Functions 0 January 9th 07 12:13 AM


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