+ Reply to Thread
Results 1 to 4 of 4

XValues = range from 2 different rows. Can I do it?

  1. #1
    Registered User
    Join Date
    03-19-2013
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question XValues = range from 2 different rows. Can I do it?

    Hello,
    This is my first post. I'm definitely in the right place looking at the great answers I have seen so far....I'm a beginner :-)

    I have multiple charts and am a bit stuck on the XValues for one of my charts. The Xvalues are split over 2 rows (XRow is not always the same Row number).

    Can I do something similar to below to add the XValues to my chart?

    .XValues = WS.Range(WS.Cells(XRow, 4), WS.Cells(XRow, 4) + (WS.Cells(XRow+5, 4), WS.Cells(XRow+5, 4)
    Any help is much appreciated.
    Paddybongo

  2. #2
    Registered User
    Join Date
    03-19-2013
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: XValues = range from 2 different rows. Can I do it?

    Hello,

    Has anyone managed to do this before?

    .XValues = WS.Range(WS.Cells(XRow, 4), WS.Cells(XRow, 15) + (WS.Cells(XRow+5, 4), WS.Cells(XRow+5, 15)

    Your help is really appreciated,
    Paddybongo

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

    Re: XValues = range from 2 different rows. Can I do it?

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

  4. #4
    Registered User
    Join Date
    03-19-2013
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: XValues = range from 2 different rows. Can I do it?

    Andy,
    Brilliant! Thanks a lot for taking the time to get back to me.
    Paddybongo

+ Reply to 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