+ Reply to Thread
Results 1 to 11 of 11

Load qurey from website.

  1. #1
    Registered User
    Join Date
    03-26-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Lightbulb Load qurey from website.

    Dear all.

    http://www.photon.info/photon_site_d...dule_en.photon

    I have database value from this website.I would like to update database or query into excel sheet .
    How could i record the query or update database from website.

    first sheet must contain all common peramter & other sheet must be loaded with typesection value.

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Load qurey from website.

    Set reference to Microsoft Forms 2.0 Object Library and Microsoft HTML Object Library
    This gets you the table:
    Please Login or Register  to view this content.
    If you go and play around with it, please note that the link is actually different from the one you posted
    Please click the * below if this helps

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Load qurey from website.

    Just an Input..

    Reference to Microsoft Forms 2.0 Object Library might not be available in the Post 2007 Version.

    Below link will help you set it up just incase you run into an issue..

    http://www.mrexcel.com/forum/excel-q...t-library.html
    Cheers!
    Deep Dave

  4. #4
    Registered User
    Join Date
    03-26-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Load qurey from website.

    I am using visual basic 2013 desktop version . I tried to run code using class library. I am getting below error.
    Error 4 Type 'HTMLDocument' is not defined. C:\Users\AJIT\Documents\Visual Studio 2013\Projects\Testing code\ClassLibrary1\ClassLibrary1\Class1.vb 7 51 ClassLibrary1
    Error 5 Method arguments must be enclosed in parentheses. C:\Users\AJIT\Documents\Visual Studio 2013\Projects\Testing code\ClassLibrary1\ClassLibrary1\Class1.vb 15 19 ClassLibrary1
    Error 6 'ActiveSheet' is not declared. It may be inaccessible due to its protection level. C:\Users\AJIT\Documents\Visual Studio 2013\Projects\Testing code\ClassLibrary1\ClassLibrary1\Class1.vb 18 9 ClassLibrary1

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Load qurey from website.

    Then why are you posting in an Excel Forum?

  6. #6
    Registered User
    Join Date
    03-26-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Load qurey from website.

    When i run code on excel in developer option i got this errorexcel.jpg

  7. #7
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Load qurey from website.

    Add a blank userform to the workbook and then try it again

  8. #8
    Registered User
    Join Date
    03-26-2014
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Load qurey from website.

    userform1 is blank form only. I checked form & its property the above library function being included already by default.

    i added line after it start run . i found data not being recorded in excel sheet
    Please Login or Register  to view this content.
    Last edited by ajit.nayak87; 09-24-2015 at 06:53 AM.

  9. #9
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Load qurey from website.

    So it's working then? You're making this very hard work

  10. #10
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Load qurey from website.

    When i run code on excel in developer option i got this error
    Check Post #3

  11. #11
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Load qurey from website.

    Why have you added an extra line?
    Please Login or Register  to view this content.

+ 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. website scrapiplping to get data from multiplepages of website
    By mpatil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-17-2015, 05:00 AM
  2. Averageif WILDCARD for website.com AND EXCLUDE website.com.xx
    By Gerhard.Angeles in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-14-2014, 09:12 AM
  3. excel web apps doesn't load workbook on website
    By vayana in forum Excel General
    Replies: 0
    Last Post: 01-10-2014, 08:35 AM
  4. Replies: 1
    Last Post: 03-11-2013, 06:58 PM
  5. [SOLVED] Load webpage on TOPMAN website, extract prices from webpage into Spreadsheet
    By AKK9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2013, 11:49 AM
  6. [SOLVED] Command for userform to load website link
    By Danny Boy via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2006, 12:10 PM
  7. Qurey Excel database?
    By y_not in forum Excel General
    Replies: 1
    Last Post: 08-12-2005, 06:30 AM

Tags for this Thread

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