Closed Thread
Results 1 to 4 of 4

Recorded Macro Missing All Useful Information

  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 Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    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.
    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 Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Recorded Macro Missing All Useful Information

    The code that's not there doesn't require code tags. The code that's there does.

Closed 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