+ Reply to Thread
Results 1 to 11 of 11

Macro for multy links from the Web

  1. #1
    Registered User
    Join Date
    09-01-2009
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    9

    Macro for multy links from the Web

    Hi!
    First sory for my bad english.

    I need help for, how to automate with macro import data from web.

    I have link(s) that i manualy paste in data from web but i wonna automate this with macro.

    example of what i need;
    In cell A1 is link that i need pull/import all page in A2 and link from B1 to B2 and in that direction further....

    1.JPG

    Please if aneyone know macro code for this query or something similar that will help me not to do that manualy!
    Tnx

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro for multy links from the Web

    What kind of data are you scrapping? Is a single data or a table? If it is a table, you can use excel's built-in function as you highlighted on the picture. All you need to add is a loop where the code goes to each cell in a loop and fetch the URL. It is easier to help you if you could attach an excel sample, not a picture. On the sample book, you could include list of URLs and your desired result, that is, what you want to get from the URL.

  3. #3
    Registered User
    Join Date
    09-01-2009
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Macro for multy links from the Web

    sory, i have problems with upload files.
    Down is link to file:
    https://www.dropbox.com/s/hdc8l9u1lo...links.xls?dl=0

    I need loop to fetch data (entire page) from URLs. example links are A3, B3, C3 . . .
    Im pulling prices and selers names for spec. products.
    Last edited by dario222; 03-05-2017 at 05:58 PM.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro for multy links from the Web

    Hi Dario,
    The site is in your local language. When I try to translate it using Chrome, the site requires some searching. These 2 values in A1 and A are inputs. What do you want to get from the site? This does not look like you are trying to get a table.

  5. #5
    Registered User
    Join Date
    09-01-2009
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Macro for multy links from the Web

    im trying to get prices and sellers. I do that manualy with pull data from web and i press import button to download full page.
    Now i have lot links (100 per book) to do manuali one by one so i need some automation to be quicker-
    In exampe excel links are in row 3
    Last edited by dario222; 03-05-2017 at 05:59 PM.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro for multy links from the Web

    Okay, it easy to adjust the code. All you need to is record the macro when you do it manually. I will then adjust the code.
    just record the macro and post it here.

  7. #7
    Registered User
    Join Date
    09-01-2009
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Macro for multy links from the Web

    Ok, i make for first two links macro. What i need is now if i change links that macro automaticly copy data for them.

    https://www.dropbox.com/s/5j767yugr7...inks1.xls?dl=0

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro for multy links from the Web

    Try the attached. The links are in A3,B3,C3 and so on.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-01-2009
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    9
    Tnx alot for your time. I will try it and let u know how it is.

  10. #10
    Registered User
    Join Date
    09-01-2009
    Location
    Zagreb
    MS-Off Ver
    Excel 2007
    Posts
    9
    I tested and it works better that i wonna
    Thank you so mutch once more!

  11. #11
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro for multy links from the Web

    You are welcome!

+ 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. [SOLVED] I want get data from multy sheets according to specific value in dropdown list
    By jobran in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-01-2017, 02:03 AM
  2. Merge Multy Columns in Single column with data
    By sharma4845 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2014, 05:02 AM
  3. Merge Multy Columns in Single column with data
    By sharma4845 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2014, 05:00 AM
  4. Replies: 32
    Last Post: 07-23-2013, 01:14 AM
  5. data entry to multy sheet using userform
    By semeer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2013, 04:44 AM
  6. Replies: 9
    Last Post: 02-24-2012, 05:05 AM
  7. Update Links Macro
    By tuckjoseph in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-26-2010, 10:58 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