+ Reply to Thread
Results 1 to 4 of 4

Copy and paste a column one cell at a time

  1. #1
    Registered User
    Join Date
    06-24-2019
    Location
    Buffalo, NY
    MS-Off Ver
    2016
    Posts
    11

    Copy and paste a column one cell at a time

    Hello all,

    I'm writing a macro that has to look at a column on sheet 1 (the column will have a different number of cells each time), and systematically paste each value one at a time into a single destination on sheet 2. In between each paste, I have to call another macro (which I already have the code for). After the outside code performs its function, I need the next line in the column to paste to the same destination, so on and so forth.


    Any help would be greatly appreciated.


    Thank you in advance.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: 2019 but still use also older versions
    Posts
    7,417

    Re: Copy and paste a column one cell at a time

    The scheme of your code coold look like this

    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    06-24-2019
    Location
    Buffalo, NY
    MS-Off Ver
    2016
    Posts
    11

    Re: Copy and paste a column one cell at a time

    Hello and thank you so much for responding. As requested, I attached a sample workbook that should help to more easily describe the desired macro. The list (on tab "Paste Source") just needs to paste, one at a time into cell C8 on "Paste Destination". In between each paste loop, another macro is called. So the loop would go like this:

    Store 1 is copied from source to destination. Macro called ect, then store 2 is pasted, macro called, so on so fourth.

    Again, than k you so much for your help.
    Attached Files Attached Files

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: 2019 but still use also older versions
    Posts
    7,417

    Re: Copy and paste a column one cell at a time

    It's indeed as I wrote before. Just in case see attached (macro in your file). I added few extras to make sure it always works as desired.

    Please Login or Register  to view this content.
    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)

Similar Threads

  1. [SOLVED] VB Code to copy paste data from column to another column based on content of cell
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2019, 08:50 PM
  2. Copy data and paste to another column incrementing that column to next empty cell
    By edens2021 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-29-2015, 11:43 AM
  3. how to copy paste particular raw every time cell value change
    By dipak1982 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2014, 12:42 PM
  4. If cell value greater than another copy paste with time stamp
    By Tortus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2014, 07:33 PM
  5. Vba - find next empty column, insert column, copy paste values & copy paste formulas
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2012, 12:43 PM
  6. [SOLVED] Copy and Paste a specific Column to a Column that's heading matches a particular cell
    By Rexmond in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2012, 12:29 AM
  7. Time-Triggered Cell Copy/Paste
    By gandolff in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-01-2009, 07:04 AM

Tags for this Thread

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