Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy/Paste Loop

Hello all,

I'm new at this and am having difficulties creating a complex macro.

The model allows the user to select from a large list in sheet CPR. From
there, several cells will auto populate from a database in sheet L. My
problem is, that depending on the selection, anywhere from 1-10 cells may
populate. Also, I only want information from one of the several criteria
("subrecords") in the database.

The database in Sheet L has an advance filter which pulls up all records
with the selection from CPR. Column F contains several types of entries. I
would like to find all of the "IT"'s in column F and copy the cell to the
right of it. Then move back to CPR and paste in a particular cell. Then I
need it to find the next "IT" in column F, copy the cell to the right, move
back to CPR and paste in the cell below the prior cell. And so on until all
"IT"'s have been found and their adjacent cell copied.

I tried recording a macro, but I couldn't get the loop to work. I then
tried modifying it manually to no avail. I can't even get the Find object
working, so any help is greatly appreciated.

Thanks
Jelly's
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Loop to Find then Copy & Paste B J Hankinson Excel Discussion (Misc queries) 0 April 15th 09 06:39 PM
copy,paste and loop through workbook TUNGANA KURMA RAJU Excel Discussion (Misc queries) 0 December 6th 05 12:31 PM
Loop: Copy and paste range that changes with every iteration Allen Geddes Excel Programming 0 November 15th 05 12:58 PM
copy and paste loop Dillonstar[_5_] Excel Programming 1 December 11th 03 04:22 PM
constructing a copy-paste loop that skips rows hm[_2_] Excel Programming 1 September 22nd 03 07:05 PM


All times are GMT +1. The time now is 04:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"