+ Reply to Thread
Results 1 to 5 of 5

Chart integrity degrades when hiding

  1. #1
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 365
    Posts
    100

    Chart integrity degrades when hiding

    I have a macro that is hiding rows. The charts and the information that is on them is included in these rows. These are XY scatter charts. I have changed the properties of the chart to "don't move or size with cells." However, it still isn't completely working.

    If a group of cells is hidden by the macro and then I make a new worksheet by right clicking the worksheet tab and selecting "move or copy," and then the macro unhides the same group of cells, the equasion for trendline and R-Squared value dissapears. Instead, there are "x value" data labels on each point of the line.

    After some time and repetition of this, I even had on chart take on the properties (including source information) of another chart in the same worksheet.

    Can this problem be fixed?

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 365
    Posts
    100

    Re: Chart integrity degrades when hiding

    I thought that this might be complex enough that I should include a file for the example. So here is a simplified Excel file with the charts and macro. Go ahead and take a look.
    Attached Files Attached Files
    Last edited by timmtamm; 02-26-2009 at 05:29 PM. Reason: grammatical correction

  3. #3
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 365
    Posts
    100

    Re: Chart integrity degrades when hiding

    bump, no response.

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

    Re: Chart integrity degrades when hiding

    The trend line label does appear to vanish when copying to another sheet when the original is not displayed.

    I guess the fix is to unhide the cells prior to copying sheet and then hide on new sheet.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 365
    Posts
    100

    Re: Chart integrity degrades when hiding

    Yea, I can unhide and then rehide, but I was hoping there might be a more automated way of fixing the problem.

+ 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