+ Reply to Thread
Results 1 to 3 of 3

Extending column range in copy paste macro

  1. #1
    Forum Contributor
    Join Date
    01-05-2010
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    747

    Extending column range in copy paste macro

    Can someone help me change this code that is copying the data from column I:BY. Instead I would like to copy data from column B:BY

    This is the part of the code that I need modified..

    Please Login or Register  to view this content.

    This is the entire code..

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: Extending column range in copy paste macro

    The code seems to be somewhat inefficient. I can't open the file because I don't have Excel 2007, but I will suggest that you do not need to select cells to modify them. I've made some changes to your code, but I wasn't able to test it, so report back with your findings

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-05-2010
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    747

    Re: Extending column range in copy paste macro

    Here is a copy of the workbook in 2003 format.


    I made the change but there must be another problem with the code. The code is copying the first row that meets the criteria continuously. After copying the first row, it does not jump to the next row that meets the criteria.

    Any idea what can be 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