Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7903811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:50:26+00:00 2026-06-03T09:50:26+00:00

I have a sheet with an chart in it. I am using another sub

  • 0

I have a sheet with an chart in it. I am using another sub to create another chart, and would like to place it UNDER the first chart.

I know how to set the position of a chart using .Top or .Left, but don’t know how to retrieve the position of the first chart. Any suggestions?

I tried:

Activesheet.ChartObjects(2).Top = Activesheet.ChartObjects(1).Top

–> This works just fine, but the charts are overlapped. I need to replace the last “.Top” with “.Bottom”, but “.Bottom” is not accepted (In fact, optimally, I would like to place at the bottom of the first chart with a little gap).

Sounds easy, but can’t quite do it!

Thanks,
Al

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:50:28+00:00Added an answer on June 3, 2026 at 9:50 am

    Is this what you are trying?

    Option Explicit
    
    Sub Sample()
        Dim C1CO As ChartObject, C2CO As ChartObject
    
        Set C1CO = ActiveSheet.ChartObjects("Chart 1")
        Set C2CO = ActiveSheet.ChartObjects("Chart 2")
    
        With C2CO
            .Top = C1CO.Top + C1CO.Height + 10
            .Left = C1CO.Left
        End With
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have monthly sales figures stored in separate sheets. I would like to create
I have one excel file (*.xlsm) with VBA code on first sheet: Private Sub
I have this sheet on Excel : Team Total Points Position AJPPR 371,1878896 APP64
I have created Excel Sheet using Java program. It works fine. My problem is,
I have a Excel sheet with two columns and I need to create new
In a cell in Excel sheet I have a Date value like: 01/01/2010 14:30:00
Do you have any idea on how to create a chart in an Excel
I know you can dynamically create a .NET assembly using Emit, System.Reflection and manually
I have a sheet called "main" that takes values from another file's sheet called
I have a worksheet, on which I am using a macro to create a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.