+ Reply to Thread
Results 1 to 2 of 2

Range Select from another cell

  1. #1
    Forum Contributor
    Join Date
    05-04-2015
    Location
    Atlanta GA
    MS-Off Ver
    2010
    Posts
    106

    Range Select from another cell

    I have a baseball game I've created using Excel. I would like a MACRO that will copy several rows/columns of stats from one sheet to another. It would paste the stats in the cells on the 2nd sheet in the range reference by cell A1 of the 2nd.

    Each team will begin with a different row number.

    For example, I have (25, 3) in A1 and C25 is where I want the "paste" to begin. I'm having trouble getting it to work.

    The first range is from the "PLAY GAME" sheet.

    Here's what I have:


    Please Login or Register  to view this content.

    Thanks for any help you can give.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Range Select from another cell

    "(25, 3)" not the cleanest way to store two values. "25, 3" is better, but A1= 25, B1 = 3 is easiest of all.
    I'm not sure that I have the sheets the way you want them, but code like this would do what you want.
    The "get starting data" section could be modified to suit the scheme you decide on.

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Select 1 cell in a range -> copy to new cell (still keeping formatting)
    By Tildish in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-14-2013, 07:19 AM
  2. Replies: 4
    Last Post: 06-17-2013, 05:21 AM
  3. Define range to select from current cell in a full range (using worksheet_change)
    By draddy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-07-2013, 11:48 AM
  4. [SOLVED] Highlight range of cells - run macro - select last cell in range
    By chromachem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2012, 11:46 AM
  5. VBA select cell range based upon the # of rows that make up a certain merged cell?
    By clemsoncooz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-04-2012, 12:22 PM
  6. select range name from a cell
    By Geordie in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-06-2010, 07:53 AM
  7. Select Last Used Cell for VBA Range
    By stevedes7 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2010, 06:39 AM
  8. select cell range??
    By spinkung in forum Excel General
    Replies: 1
    Last Post: 11-14-2006, 08:18 PM

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