+ Reply to Thread
Results 1 to 2 of 2

Reference in charts

  1. #1
    Chris
    Guest

    Reference in charts

    I'm trying to reference a active worksheet in a chart but I keep getting
    error messages. On the series tab of step 2 of the chart making process, I
    would like to substitute the current worksheet instead of the permanent one
    already in there.

    Instead of ='Testing_Macro'!$A$1:$A$20

    I want Testing_Macro replaced with a reference to an active sheet name. Any
    ideas?





  2. #2
    Andy Pope
    Guest

    Re: Reference in charts

    Hi,

    Something more like this.

    ="'" & activesheet.name & "'!$A$1:$A$20"

    If the chart sheet is the activesheet this will fail.

    Cheers
    Andy

    Chris wrote:
    > I'm trying to reference a active worksheet in a chart but I keep getting
    > error messages. On the series tab of step 2 of the chart making process, I
    > would like to substitute the current worksheet instead of the permanent one
    > already in there.
    >
    > Instead of ='Testing_Macro'!$A$1:$A$20
    >
    > I want Testing_Macro replaced with a reference to an active sheet name. Any
    > ideas?
    >
    >
    >
    >


    --

    Andy Pope, Microsoft MVP - Excel
    http://www.andypope.info

+ 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