+ Reply to Thread
Results 1 to 3 of 3

run time error 1004

  1. #1
    Registered User
    Join Date
    03-30-2015
    Location
    Athens, Greece
    MS-Off Ver
    2013
    Posts
    2

    run time error 1004

    Hi everyone, I am a newbie in Excel Vba and I would appreciate your help!

    I saw a couple days ago this link:

    http://www.familycomputerclub.com/sc...nto-excel.html

    Let’s say I want to scrape all ids from this, for example, "URL;http://quickfacts.census.gov/qfd/states/01000.html" ... *.01001 *.01002....x, x+1 and some ids are missing.

    When this Excel VBA code running and cannot find an id then it stops the procedure.

    I would like, if it possible, to change thw Excel VBA code to make a loop: If it finds an id then scrap it…if not continue…

    Could you please help me!!!

    Thanks a lot.

    Mike

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: run time error 1004

    Please post your code and a sample of your workbook directly to this forum. We don't want to click on links to research your problem.

    To attach a Workbook
    (please do not post pictures or links to worksheets)
    • Click Advanced (next to quick post),
    • Scroll down until you see "Manage Attachments",
    • Click that then select "add files" (top right corner).
    • Click "Select Files" find your file, click "open" click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Click "Done" at bottom right to close the Attachment Manager.
    • Click "Submit Reply"
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    03-30-2015
    Location
    Athens, Greece
    MS-Off Ver
    2013
    Posts
    2

    Re: run time error 1004

    The problem is solved. 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. [SOLVED] Sort Macro Run-time error '1004': Application/Object-defined error.
    By sam1212 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-22-2014, 10:05 AM
  2. Replies: 4
    Last Post: 11-15-2013, 05:03 PM
  3. VBA Code...error = run time error 1004 autofilter method of range class failed
    By Dariusd7 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-15-2013, 04:49 PM
  4. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  5. Replies: 5
    Last Post: 08-10-2005, 05:05 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