+ Reply to Thread
Results 1 to 4 of 4

Copy picture vba code help

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    Rotterdam
    MS-Off Ver
    2016
    Posts
    28

    Copy picture vba code help

    Hee everyone,

    I'm trying to write two codes:
    1. to save a chart, as a bitmap, to my clipboard.
    2. to save a linked picture, as a bitmap, to my clipboard.

    I would like to refer to the sheet index instead of using activeschart. The funny thing is, the activechart code works, but i do not seem to get the sheet1 reference working. My code:

    Please Login or Register  to view this content.

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

    Re: Copy picture vba code help

    Try

    Please Login or Register  to view this content.
    Martin

  3. #3
    Registered User
    Join Date
    03-09-2016
    Location
    Rotterdam
    MS-Off Ver
    2016
    Posts
    28

    Re: Copy picture vba code help

    thanks for you help missing - i was only missing the chart property.
    I thought a similar approach would work for linked pictures but unfortunately it doesn't. Can you help me finding out what I did wrong here and why there is a difference between the codes?
    Please Login or Register  to view this content.

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

    Re: Copy picture vba code help

    Try

    Please Login or Register  to view this content.

+ 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] Is there a more efficient way to copy/paste picture in this code?
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2019, 05:05 PM
  2. VBA copy excel as a picture to word - zoom picture
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2016, 06:47 AM
  3. Please help me to fix the code to copy picture from active worksheet into the powerpoint
    By dirtmankx65 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2016, 10:19 AM
  4. Copy an Image from a User form Picture Box to Worksheet Picture Box
    By sledgehammer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2014, 11:39 AM
  5. VB code to insert picture when email picture not in excel
    By T_BOLT in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 06:42 AM
  6. Replies: 0
    Last Post: 01-09-2014, 11:27 PM
  7. code adjustment - copy picture 1 or 2 IF...
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-27-2009, 08:34 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