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 matching lines


I have 2 workbooks, Ill call them wb1 and wb2.

On wb2 I have on Row 1 The Column Headings like this:

CustID | Name | Work Performed | Done? |

Below the title heading are many rows with different info under each.
Under the 'Done?' column, there will be either a "n" or a "y".

Now on wb1 I have a cell (call it cell H9). When I put a number in cell
'H9', I want the macro to look for that same number on wb2 under
"CustID", and any line containg "n" under the Column Heading, I want to
insert this line(s) on Row 18, on wb1. For each line it copies over, I
want it to make a new line so it isnt copying them onto the same Row.
It must start at Row 18 and continue down.

Any Ideas?


--
cbrd
------------------------------------------------------------------------
cbrd's Profile: http://www.excelforum.com/member.php...o&userid=30009
View this thread: http://www.excelforum.com/showthread...hreadid=497037

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy matching lines


I edited the post to be more desciptive, hope it helps.


--
cbrd
------------------------------------------------------------------------
cbrd's Profile: http://www.excelforum.com/member.php...o&userid=30009
View this thread: http://www.excelforum.com/showthread...hreadid=497037

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
copy matching value rows to other sheet tkraju via OfficeKB.com Excel Discussion (Misc queries) 2 June 7th 09 12:41 PM
$%Macro to Copy from one workbook to other when matching data Tiger Excel Discussion (Misc queries) 0 July 30th 07 08:42 AM
Copy contents of one cell to another based on matching in 2 other TerryB Excel Discussion (Misc queries) 1 February 22nd 07 08:54 AM
How do I copy info while matching labels? cmccurdy23 Excel Worksheet Functions 0 January 30th 07 02:49 PM
copy and paste matching by using ID's [email protected] Excel Programming 0 August 18th 05 10:18 AM


All times are GMT +1. The time now is 05:28 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"