+ Reply to Thread
Results 1 to 4 of 4

Modify Macro that Pastes Repeatedly

  1. #1
    Registered User
    Join Date
    03-10-2014
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    42

    Modify Macro that Pastes Repeatedly

    I'm using the macro below to find cells with names in a range, and then paste them into column A x number of times. I it to paste until it hits a point where the next iteration of paste begins where there is no data in column F. The number of rows with data in column F is variable, so as it stands right now I'm having set the paste to 150x, and then run a different macro to find blanks in column F and then delete the values in A, which really slows things down. Any help with this will be appreciated.

    Please Login or Register  to view this content.
    Last edited by votekinky06; 03-27-2014 at 11:49 PM.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Modify Macro that Pastes Repeatedly

    Try:

    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

  3. #3
    Registered User
    Join Date
    03-10-2014
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Modify Macro that Pastes Repeatedly

    BEAUTIFUL! Thank you!!

  4. #4
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Modify Macro that Pastes Repeatedly

    No problem, but a quick look at it again found a problem, it will clear 1 row if columns A and F had exactly the same number of rows.

    Change the sign:
    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)

Similar Threads

  1. [SOLVED] Macro to run solver repeatedly
    By sofiaventura in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-28-2013, 11:10 AM
  2. Replies: 1
    Last Post: 10-03-2012, 07:06 PM
  3. Replies: 2
    Last Post: 09-05-2012, 03:20 PM
  4. [SOLVED] Automating a macro that copies and pastes data and pastes 2 rows under the previous one.
    By thebank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2012, 05:02 PM
  5. I have a script in where it copies a sheet's data, and pastes it, but over pastes...
    By Cyberpawz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2012, 02:20 AM

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