+ Reply to Thread
Results 1 to 6 of 6

Chart macro needs modification

  1. #1
    Registered User
    Join Date
    03-28-2012
    Location
    Istanbul
    MS-Off Ver
    Excel 2010
    Posts
    43

    Chart macro needs modification

    Hi all,
    I recorded the following macro and assigned it to a button and it works but I need to find the right syntax instead of James! in the code. After couple hours of web searching
    I ended up with no clue whatsoever since I have next to none knowledge of VBA. What I want to do is to replace James! with something like ActiveSheet! ( I suppose).
    Code is as follows:

    Please Login or Register  to view this content.
    Any help or directing is most appreciated. Thanks in advance
    Last edited by jeffreybrown; 03-08-2013 at 07:59 PM. Reason: Please use code tags...Thanks.

  2. #2
    Registered User
    Join Date
    03-28-2012
    Location
    Istanbul
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Chart macro needs modification

    ahh depressing ... no replies ... solution must be harder than I imagined

  3. #3
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Chart macro needs modification

    Have you tried
    Please Login or Register  to view this content.
    Assuming the sheet is 1 that is.

  4. #4
    Registered User
    Join Date
    03-28-2012
    Location
    Istanbul
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Chart macro needs modification

    Hi Corey

    Actually I have around 50 worksheets in that one workbook.. and loads of charts in every sheet , so insted of defining every other sheetname I m trying to figure out this macro solution and keep it compact.

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

    Re: Chart macro needs modification

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

  6. #6
    Registered User
    Join Date
    03-28-2012
    Location
    Istanbul
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Chart macro needs modification

    Worked like a charm
    Thanks alot Andy Pope... sincerely, most appreciated.

+ 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