+ Reply to Thread
Results 1 to 8 of 8

Runtime Error 481 Invalid Picture

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    vienna
    MS-Off Ver
    Excel 2010
    Posts
    5

    Runtime Error 481 Invalid Picture

    hello,

    iīve a very big Problem to view a diagram in a userform. i get always the error runtime error 481 invalid Picture and i didnīt find any solution.
    maybe you can help me.

    Iīve a userform and a makro

    here is the makro code

    when i click on the degugg button the following code will be Show in yellow

    UserForm8.Image1.Picture = LoadPicture(dateiname)



    Please Login or Register  to view this content.
    Moderator Note:

    Pls use code tags around your code next time as per forum rules.
    Last edited by Fotis1991; 10-02-2013 at 02:22 AM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Runtime Error 481 Invalid Picture

    Are you ending up with 0KB file sizes for your pictures? If so, try selecting the chart before you export it.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    10-01-2013
    Location
    vienna
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Runtime Error 481 Invalid Picture

    thanks you the quick reply, yes the file Diagramm.bmp has 0 kb file size.

    maybe you can help me the rewrite and modify the vba makro code, because i am a beginner in vba.

    thanks a lot

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Runtime Error 481 Invalid Picture

    Try replacing:
    Please Login or Register  to view this content.
    with:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-01-2013
    Location
    vienna
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Runtime Error 481 Invalid Picture

    hello

    thanks a lot, but i get an runtime error -2147024809 (80070057)

    for this form the choise is closed.

  6. #6
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Runtime Error 481 Invalid Picture

    Can you post a sample workbook - I'm not familiar with that error message.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Runtime Error 481 Invalid Picture

    Try using a different image type.

    Please Login or Register  to view this content.
    test works for me
    Cheers
    Andy
    www.andypope.info

  8. #8
    Registered User
    Join Date
    10-01-2013
    Location
    vienna
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Runtime Error 481 Invalid Picture

    sorry for the late answer, but it didn`t function. I only use bmp for export because it is a very high definition chart.

+ 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. Runtime Error 481 Invalid Picture
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-25-2013, 05:16 AM
  2. Runtime Error 481 invalid figure when PNG
    By Stingone in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2013, 03:57 PM
  3. [SOLVED] VBA - runtime error 94, invalid use of null
    By arneld in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-25-2012, 06:46 PM
  4. Runtime Error 5: Invalid procedure call or argument
    By Arasi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-07-2009, 11:49 AM
  5. Runtime Error '3001' Invalid Argument???
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-28-2008, 10:16 AM

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