+ Reply to Thread
Results 1 to 4 of 4

Import Content from website to excel 2007

Hybrid View

dmarop Import Content from website... 06-03-2014, 06:12 AM
Richard Buttrey Re: Import Content from... 06-03-2014, 06:17 AM
dmarop Re: Import Content from... 06-03-2014, 12:12 PM
dmarop Re: Import Content from... 06-03-2014, 02:33 PM
  1. #1
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2003
    Posts
    5

    Import Content from website to excel 2007

    Hello,

    I will need your help.

    I have create a form in excel with Internet explorer. I want to ask you how can I take in excel the content of a website, the links and images.

    I attached you a file to see what I have make so far.

    Thank you.

    Regards,
    Dimitris
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Import Content from website to excel 2007

    Can you give us the URLs of some web sites you want to use. The data on the web site will need to be in a table if Excel is to read it.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Import Content from website to excel 2007

    Hi,

    Thank you for your answer.

    The data of the web site is in tag div and have the structure like something that:

    <div id="something">
       <div id="databox">
    
           <div class="FirstBox">
    			<p> MessageText </p>
              <img src="img/image1.jpg">
           </div>
    
           <div class="FirstBox">
    			<p> MessageText </p>
              <img src="img/image2.jpg">
           </div>
    
           <div class="FirstBox">
    			<p> MessageText </p>
               <img src="img/image3.jpg">
           </div>
    
       </div>
    
    </div>
    I found on google many examples, like the following example, but it can not work on me.


    Private Sub pullData_Click()
    
        Dim x As Long, y As Long
        Dim htm As Object
    
        Set htm = CreateObject("htmlFile")
    
        With CreateObject("msxml2.xmlhttp")
            .Open "GET", "http://website.html", False
            .send
            htm.body.innerHTML = .responsetext
        End With
    
    End Sub
    If you can help me i will be thankful.

    Thank you,
    Dimitris

  4. #4
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Import Content from website to excel 2007

    Do you have any idea?

    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. import data from a website into excel 2003
    By za4 in forum Hello..Introduce yourself
    Replies: 4
    Last Post: 07-31-2013, 01:21 AM
  2. Trying to import data from website to Excel
    By stronz in forum Excel General
    Replies: 1
    Last Post: 01-13-2011, 11:27 PM
  3. import excel data to website
    By robster52 in forum Excel General
    Replies: 0
    Last Post: 05-24-2010, 05:30 PM
  4. Need to import data from website to Excel file
    By sebastianpreda in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-02-2010, 02:15 PM
  5. How can I import a website into my excel sheet automatically ever.
    By Mohamed El Hefnawy in forum Excel General
    Replies: 2
    Last Post: 04-13-2005, 12:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1