+ Reply to Thread
Results 1 to 6 of 6

copy from previous three columns and paste in next three columns.

Hybrid View

Divyac copy from previous three... 07-24-2009, 04:12 AM
ravishankar Re: copy from previous three... 07-24-2009, 05:22 AM
Divyac Re: copy from previous three... 07-24-2009, 09:41 AM
ravishankar Re: copy from previous three... 07-25-2009, 01:14 PM
Divyac Re: copy from previous three... 07-27-2009, 11:33 AM
Divyac Re: copy from previous three... 07-28-2009, 09:24 AM
  1. #1
    Registered User
    Join Date
    07-16-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    9

    copy from previous three columns and paste in next three columns.

    Hi...

    I have a query wherein in I require to create a macro which will help me in copying the formula in the previous three columns to the next three columns everytime when the macro runs..

    Attached is the file for reference...

    Thanks alot for the help
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: copy from previous three columns and paste in next three columns.

    Hi
    Check if the macro in the attached file serves your purpose. It does not copy formula but calculates values using formula and inserts values in columns.
    ravi
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-16-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: copy from previous three columns and paste in next three columns.

    Hi Ravi,

    The macro given is working for the first three columns. But the data in the sheet 2 is changed every week and thereby a vlookup is done again in sheet 1in the next 3 columns in the attached (column D, E, F) and the data in column A,B & C needs to be retained as well.. In short when a macro is run the next three blank columns need to be filled...

    Thanks alot for the help
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: copy from previous three columns and paste in next three columns.

    Hi
    Modified macro is attached
    Ravi
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-16-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: copy from previous three columns and paste in next three columns.

    Hi Ravi...

    Thank you so much the macro is working perfectly....
    Thank you again..

    Regards,
    Divya..

  6. #6
    Registered User
    Join Date
    07-16-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: copy from previous three columns and paste in next three columns.

    Hi Ravi..

    Have a query with the same macro wherein in the attached file Iam unable to run the macro with the original data. The same was working fine with the sample file I sent.
    Please help me as Iam new to the concept of macro.

    Regards,
    Divya.
    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