+ Reply to Thread
Results 1 to 4 of 4

Macro Chart Confusion

  1. #1
    Registered User
    Join Date
    06-19-2008
    Posts
    2

    Macro Chart Confusion

    Hello, I've been trying to get this macro to work for a while and I keep getting the method Range of object _global error. This is my code:

    Please Login or Register  to view this content.
    I have since added this
    Please Login or Register  to view this content.
    and changed the Range()'s to Sheet1.range(), but am now getting a unable to set values property of Series class on this line

    Please Login or Register  to view this content.
    Any Suggestions? Thanks.

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

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-19-2008
    Posts
    2
    Thanks for the quick reply! Works like a charm.

    Donnie

    EDIT: The files that I want to manipulate with this macro are in the .cvs format. How would I be able to make this macro work for any file name (I tried using this on an arbitrary file name "temp" and it said that it was "out of range". Thanks again
    Last edited by dstull; 06-19-2008 at 12:15 PM.

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

    The code works on a worksheet, in this case named Sheet1, but that can be changed.

    How does csv fit in to 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