Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: excell charts

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    how to change the range of cells, used on a chart, through a macro

    [ This Message was edited by: mal on 2002-05-01 16:16 ]

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Sydney/Brisbane , Australia
    Posts
    542
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    hope this helps a bit

    chartrange = inputbox ("enter chart range here")
    ActiveChart.SetSourceData Source:=Sheets("Sheet1").RangechartrangePlotBy _
    :=xlColumns

  3. #3
    Board Regular
    Join Date
    Mar 2002
    Location
    Sydney/Brisbane , Australia
    Posts
    542
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    goto record new macro, then click on your chart. now goto data/change data source, and change it here.
    now stop the macro recording, and look at your source code.

    [ This Message was edited by: Qroozn on 2002-05-01 18:08 ]

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •