+ Reply to Thread
Results 1 to 6 of 6

Do only copy the Colunms I:O.

  1. #1
    Registered User
    Join Date
    08-09-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    49

    Do only copy the Colunms I:O.

    I have made this code to copy conditionally into sheet(1). I basically copies the entire row into sheet(1) only of the rows that in Colunm I is between 10 - 200.
    Now I want to only copy the thing in that is from colunm I to O. And I want to copy it into sheet(1) in Range ("M20:S")

    Hope you understand my question.

    Best regards
    Esben

    Please Login or Register  to view this content.
    Last edited by Cutter; 08-19-2012 at 08:38 AM. Reason: Added code tags

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Do only copy the Colunms I:O.

    This should do it,

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    08-09-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Do only copy the Colunms I:O.

    It says that this line i wrong;

    Please Login or Register  to view this content.
    Last edited by Cutter; 08-19-2012 at 08:38 AM. Reason: Added code tags

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Do only copy the Colunms I:O.

    Looks I I forgot the Next

    Please Login or Register  to view this content.
    Last edited by mike7952; 08-19-2012 at 08:00 AM.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Do only copy the Colunms I:O.

    @ esbenhaugaard

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

  6. #6
    Registered User
    Join Date
    08-09-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Do only copy the Colunms I:O.

    Hmm...I still cannot make it work. It is still complaining about the
    Please Login or Register  to view this content.

+ 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