+ Reply to Thread
Results 1 to 6 of 6

Help moving a chart to new location

  1. #1
    Forum Contributor
    Join Date
    06-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    150

    Help moving a chart to new location

    Hello,

    I am trying to move a chart and tried moving it as a shape or as a chartobject and cannot get the code right to do it. I always struggle with charts VBA. It is a shape or is it a chartobject?

    Here is the code. Thanks for your help

    HTML Code: 
    Last edited by icyrius; 06-13-2019 at 03:18 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help moving a chart to new location

    I wouldn't claim that this is optimal code ...

    Please Login or Register  to view this content.
    Last edited by shg; 06-06-2019 at 01:28 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    06-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    150

    Re: Help moving a chart to new location

    Thank you for your response.

    Is it possible to call a specific shape? I have several charts in the activesheet.

    For example, in this section of your code,

    HTML Code: 
    How can I refer to "shape1" which is the one I want to move out of three existing charts in the activesheet. Thanks again for your help!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help moving a chart to new location

    Please Login or Register  to view this content.
    Last edited by shg; 06-06-2019 at 04:33 PM.

  5. #5
    Forum Contributor
    Join Date
    06-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    150

    Re: Help moving a chart to new location

    Thank you for your help!

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help moving a chart to new location

    You're welcome.

+ 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. Moving chart location based on pivot table
    By greynolds80 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-01-2015, 11:00 AM
  2. Moving text box to particular location
    By malcmail in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-06-2015, 07:25 AM
  3. Moving *.xlsx from current location including Sub Folders to another location
    By mvinay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-02-2014, 03:55 AM
  4. Moving a col from one location to another using vba ......really slow.....can faster
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-29-2011, 10:51 AM
  5. Moving Data to Specified Location
    By Rhett19 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-29-2011, 10:57 PM
  6. Trouble moving worksheet to new location
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2008, 05:09 PM
  7. moving location of comment arrow
    By kaizer in forum Excel General
    Replies: 2
    Last Post: 05-12-2006, 04:29 PM

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