+ Reply to Thread
Results 1 to 4 of 4

ActiveSheet.ChartObjects in one line

  1. #1
    Registered User
    Join Date
    07-08-2013
    Location
    Indianapolis, IN
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question ActiveSheet.ChartObjects in one line

    I have the following code to set the minimum value of the y-axis of "My Graph":

    Please Login or Register  to view this content.
    Is there a way that I can do this in one line? For example:

    Please Login or Register  to view this content.
    I'm trying to figure out how to point to anything anywhere. Could I even lose the ActiveSheet part? Is there something like this?:

    Please Login or Register  to view this content.
    I'm hoping to be able to point at anything anywhere.

    Thanks for the help!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: ActiveSheet.ChartObjects in one line

    You can't do something like that in one line.

    As for replacing ActiveSheet with a reference to a specific named sheet, that shouldn't be a problem.
    If posting code please use code tags, see here.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: ActiveSheet.ChartObjects in one line

    Why not?

    Please Login or Register  to view this content.
    And for the currently selected chart
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: ActiveSheet.ChartObjects in one line

    Oops, for some reason I thought the OP wanted to set the MinimumScale for multiple charts with one line.7

    No idea why.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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