+ Reply to Thread
Results 1 to 3 of 3

Excel VBA Help in relation to selection of charts

  1. #1
    Registered User
    Join Date
    09-14-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    1

    Excel VBA Help in relation to selection of charts

    Hi everyone,

    I have been learning VBA over the past couple of months and have come up with a problem. I have been trying to write code that will paste Selected charts in one sheet and paste them to another. I have multiple charts on one sheet but only want to paste a few of them to another. To do this i have written the code below.

    Please Login or Register  to view this content.
    Whilst the number of charts pasted is always correct no matter which charts i select the ones that are pasted do not depend on the selection but the order of the chart creation. So, if I had 3 charts and selected charts 2 and 3 and ran the code, charts 1 and 2 would be pasted instead. If anyone help it would be much appreciated.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Excel VBA Help in relation to selection of charts

    Please re-read rule #3 of our forum rules about cross=posting. I am adding a link for you this time, however if you do this again, you must provide that cross-post information yourself.

    Cross-posted here: https://www.mrexcel.com/forum/excel-...on-charts.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: Excel VBA Help in relation to selection of charts

    I published answer on https://www.mrexcel.com/forum/excel-...ml#post5143068 as there is already longer thread.
    Best Regards,

    Kaper

+ 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. Excel : Dynamic Charts on Excel using field selection
    By chanu587 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-03-2015, 03:28 PM
  2. how to get create relation base dropdown in ms excel
    By Amit Verma in forum Excel General
    Replies: 1
    Last Post: 06-08-2014, 03:27 PM
  3. excel to access relation
    By jcarstens in forum Access Tables & Databases
    Replies: 0
    Last Post: 10-06-2009, 07:14 PM
  4. Directing Excel to cells by relation to others
    By Mishka1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2008, 09:52 PM
  5. Cash Budget Question in relation to Excel
    By aceman in forum Excel General
    Replies: 2
    Last Post: 06-11-2007, 09:32 AM
  6. [SOLVED] Inverting a relation in Excel
    By Michael H. New in forum Excel General
    Replies: 2
    Last Post: 07-29-2005, 12:05 AM
  7. Replies: 0
    Last Post: 01-22-2005, 07:52 AM

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