+ Reply to Thread
Results 1 to 2 of 2

Macro code error

  1. #1
    Registered User
    Join Date
    07-05-2011
    Location
    Chicago IL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Macro code error

    I am trying to record a macro that will take seleted data from a spread sheet and graph it but I am getting the following error. ' - 2147024809( 80070057 ) '

    The macro does produce a graph along with this highlighted line of code in the "debuger"

    ActiveSheet.ChartObjects("Chart 1").Activate

    My question is why is this happening? And why doesnt the macro record all of the changes I make the to graph, such as; changing the size of the graph and moving the legend. Any changes I make to the graph will not be included in my macro?

    Any help would be appreciated.
    Last edited by marshall23; 07-05-2011 at 04:16 PM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Macro help???

    Hi Marshall, welcome to the forum.

    Please take a moment to review the forum rules - link in my signature below - and then amend your thread title to something descriptive of your problem.

    Thank you.

+ 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