+ Reply to Thread
Results 1 to 2 of 2

Macro to copy the data under the specified name from one sheet

  1. #1
    Registered User
    Join Date
    08-15-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    38

    Macro to copy the data under the specified name from one sheet

    hi i am using varColumn right now the code is as follows


    Please Login or Register  to view this content.
    Write now it copies the data under the name which is in a merged cell i want it to copy all the 4 columns i.e the next three as well and then paste it into specified cells on another sheet
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Macro to copy the data under the specified name from one sheet

    Hi hattisaeed
    In Module 2 (sub finds()), replace this code:

    Please Login or Register  to view this content.
    with

    Please Login or Register  to view this content.

    This assumes that you want the three extra columns positioned AFTER the "Expiry" column.
    You will need to unhide column L in sheet "Emp Ind HSE" or amend the code to skip this column if it is important.
    Also you will need to add the headings on sheet "Emp Ind HSE" to identify the new data that has been copied.
    Barry

+ 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