+ Reply to Thread
Results 1 to 4 of 4

chart to be shown in new sheet

  1. #1
    Registered User
    Join Date
    04-25-2012
    Location
    Singa[pre
    MS-Off Ver
    Excel 2003
    Posts
    49

    chart to be shown in new sheet

    Sheet1 is for data.
    macro for chart to be created in Sheet2 plse.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: chart to be shown in new sheet

    Hi asdzxc,

    You need to provide more details.. like exact location of data in sheet 1... type of chart at sheet 2 etc. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: chart to be shown in new sheet

    See the .location method as it applies to the chart object.

  4. #4
    Registered User
    Join Date
    04-25-2012
    Location
    Singa[pre
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: chart to be shown in new sheet

    This macro creates chart in Sheet1 (together with data).Plse add code so that chart can be created in Sheet2.
    Sub Macro6()
    '
    ' Macro6 Macro
    '

    '
    Range("A4:C19").Select
    ActiveSheet.Shapes.AddChart.Select
    ActiveChart.ChartType = xlLineMarkers
    ActiveChart.SetSourceData Source:=Range("'P11'!$A$4:$C$19")
    End Sub

+ 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