+ Reply to Thread
Results 1 to 5 of 5

Insert a picture that is on worksheet into another worksheet

  1. #1
    Forum Contributor
    Join Date
    03-13-2009
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    136

    Insert a picture that is on worksheet into another worksheet

    I have written a vba program that creates a report in excel. Most of the pages of the report are created at runtime. I have an image on a hidden worksheet that I need to place into one of the worksheets that is created at runtime. The image is an excel chart that I copied and pasted as a picture. I did this so that I could resize it easily and all of the elements of the chart would maintain their relative sizes. I have tried:

    Please Login or Register  to view this content.
    but I get an error message:

    Run-time error '1004': Copy method of Picture class failed

    I tried inserting the picture like this:

    Please Login or Register  to view this content.
    but I get the dreaded:

    Microsoft Office Excel Has Stopped Working......Windows is checking for a solution to the problem

    and then of course it closes down and restarts without ever finding a solution.

    Any help would be greatly appreciated.
    Last edited by jerseyguy1996; 01-19-2010 at 01:26 PM.

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

    Re: Insert a picture that is on worksheet into another worksheet

    Try using:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    03-13-2009
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    136

    Re: Insert a picture that is on worksheet into another worksheet

    Quote Originally Posted by romperstomper View Post
    Try using:
    Please Login or Register  to view this content.
    That worked perfectly. Thank you very much!!!!

  4. #4
    Registered User
    Join Date
    03-24-2013
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Insert a picture that is on worksheet into another worksheet

    Hi,
    Please let me know how to align the image mid of the cell.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Insert a picture that is on worksheet into another worksheet

    Anand,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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