+ Reply to Thread
Results 1 to 3 of 3

how ingore/continue past Run-time error 1004

  1. #1
    Registered User
    Join Date
    09-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    78

    how ingore/continue past Run-time error 1004

    Hello,

    My macro takes the cell value (an image name) and uses it to import pictures into the worksheet. If there is no associated picture, I get "Unable to get the Insert property of the Picture class." I was wondering how to ignore, continue past this, or check if there is an image before executing

    Here is the code snippet I have:
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: how ingore/continue past Run-time error 1004

    The easiest way would probably be this:

    Please Login or Register  to view this content.

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

    Re: how ingore/continue past Run-time error 1004

    Please Login or Register  to view this content.
    Ben Van Johnson

+ 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. Replies: 4
    Last Post: 11-15-2013, 05:03 PM
  2. 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
  3. 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
  4. strange 1004 error, cannot copy past 30 sheets
    By MrTulip in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2009, 06:19 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