+ Reply to Thread
Results 1 to 9 of 9

Copy Range from one sheet, and paste it to the next available column on another sheet

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Copy Range from one sheet, and paste it to the next available column on another sheet

    I Have to copy J1:J103 from the "Lists" sheet, and paste it in the next available column in the "DaY" sheet. This needs to be accomplished from a button on the "DaY" sheet. It seems simple but never works quite right. Any ideas.
    Attached Files Attached Files

  2. #2
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Copy Range from one sheet, and paste it to the next available column on another sheet

    You don't have a "Lists" Sheet in your workbook
    Also the whole range J1:J103 should be copyed? or just some values from that column?

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Copy Range from one sheet, and paste it to the next available column on another sheet

    Uploaded an old copy of the book. Yes, the whole range would need to be copied. Also, all the formula's and formating needs to be copied. Thanks for your help.

  4. #4
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Copy Range from one sheet, and paste it to the next available column on another sheet

    I still don't know what you mean but try this:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Copy Range from one sheet, and paste it to the next available column on another sheet

    Make a button on DaY sheet and asign the Copy_JColumn to it. And try clicking it
    If it doesn't work and the error is on the 2nd line then switch it with this:
    Please Login or Register  to view this content.
    or this:
    Please Login or Register  to view this content.
    Hope this helps

  6. #6
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Copy Range from one sheet, and paste it to the next available column on another sheet

    I am still getting an error message that says, No object selected

  7. #7
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Copy Range from one sheet, and paste it to the next available column on another sheet

    My Mistake!!!
    Please Login or Register  to view this content.
    Forgot the offset part

  8. #8
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Copy Range from one sheet, and paste it to the next available column on another sheet

    But you need to determin in which row should it look for the last column!
    that is the Range("IV1") <<---the 1 in this formula is the row. change it to a row that is the begining of the copy row
    If J1 value goes in next column row 15 then set this number to 15...understand?

  9. #9
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Copy Range from one sheet, and paste it to the next available column on another sheet

    Yeah, that makes sense. and that cleaned it up, Except now the third row is showing as invalid use of . I am attaching the current format of the sheet and the row i want is 1 if you could take a look at it and see whats wrong?
    Attached Files Attached Files

+ 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