Closed Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Recorded Macro Missing All Useful Information

    Excel 2007. I just recorded a macro of me editing the bars on a bar-chart. It was a totally useless excercise as it failed to record any important info. What I got is shown here:

    ActiveSheet.ChartObjects("Chart 1").Activate
    ActiveChart.ChartGroups(1).GapWidth = 28
    ActiveSheet.ChartObjects("Chart 1").Activate
    ActiveChart.SeriesCollection(2).Select
    ActiveSheet.ChartObjects("Chart 1").Activate
    ActiveChart.SeriesCollection(3).Select
    ActiveSheet.ChartObjects("Chart 1").Activate
    ActiveChart.SeriesCollection(4).Select
    ActiveSheet.ChartObjects("Chart 1").Activate
    ActiveChart.PlotArea.Select

    I did a lot of formatting to each data series.

    Any ideas out there?

  2. #2
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,137

    Re: Recorded Macro Missing All Useful Information

    Welcome to the forum, SRuiter.

    Please take a few minutes to read the forum rules, and then edit your post to add code tags.

    Thanks.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-19-2010
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Recorded Macro Missing All Useful Information

    With all due respect, its not about the code...its about the code that is not there.

  4. #4
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,137

    Re: Recorded Macro Missing All Useful Information

    The code that's not there doesn't require code tags. The code that's there does.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

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.2.0