+ Reply to Thread
Results 1 to 3 of 3

Intermittent Runtime Error when inserting picture

  1. #1
    Forum Contributor vamosj's Avatar
    Join Date
    04-23-2004
    Location
    Oregon
    MS-Off Ver
    2010
    Posts
    294

    Intermittent Runtime Error when inserting picture

    I'm having difficulty nailing this one down as it does it on occasion and I can't figure out the key to it. It may do it on startup or it may do it after a few other macro's are ran. Can anyone see any problems within this code that might cause such an issue?

    The error I am getting (highlighted in red) is that it cannot view the object properties. So the picture is put in, but it's emplacement cannot be set and the picture cannot be renamed (which must occur for other macros to see it).
    • Pages are not protected
    • The only self automated macro is on workbook open, and it only resizes to view the area depending on the persons resolution.
    • Microsoft Excel 2003


    Please Login or Register  to view this content.
    Last edited by vamosj; 05-05-2009 at 01:35 AM.
    Janos S. Vamos
    Data Systems Technician/Fire Controlman PO1(SW/AW)
    US Navy Retired


    Remember, Record Macro can be your friend for figuring out solutions.

    Good or Bad, let me know how I did by clicking on the "Add Reputation" * just to the lower left of here. it only takes a few seconds to let someone know.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Intermittent Runtime Error when inserting picture

    Try...

    Please Login or Register  to view this content.
    ...just in case there are Shapes which are not being counted as DrawingObjects.
    Martin

  3. #3
    Forum Contributor vamosj's Avatar
    Join Date
    04-23-2004
    Location
    Oregon
    MS-Off Ver
    2010
    Posts
    294

    Re: Intermittent Runtime Error when inserting picture

    Thanks,

    I will have to run it over a few times. Probably have some of my coworkers try it out also before I make my determination that it is fixed. As I said, this pops up on occasion (usually when I'm showing one of my bosses on how it works)...




    **** Edit **** After a few days of testing this seems to have fixed the problem. Many thanks for your input mrice.
    Last edited by vamosj; 05-05-2009 at 01:36 AM. Reason: Update Solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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