Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Taking content from worksheet,loc it in another, and if exists. copy it to a third...

I work for a hospital, and I have two worksheets...one with patien
names, and doctor names, and then another worksheet with patient name
and appointment dates. These worksheets are both located in ON
workbook.

I need a script that take a name from the patient name column in shee
1, try and find it in sheet 2, and if it exists, to return to sheet
and copy the entire row to sheet 3

I approached it obviously starting with the Do...Loop method, usin
functions I copied from a Macro recording. If I could make the resul
of the find boolean then I wouldn't be asking you guys this now. I als
tried a different a approach using the For...Next method but that didn
produce the result either...

If someone could come up with a script for me I would greatl
appreciate it..

Thanks alot!
Dav

--
Message posted from http://www.ExcelForum.com

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
Only allow cell content if it lready exists Brian Bermingham[_2_] Excel Discussion (Misc queries) 4 July 2nd 09 06:36 PM
copy row content from one worksheet to another, if a condition met Lorilenore Excel Worksheet Functions 2 May 24th 08 08:36 PM
do not copy data to another sheet if exists Paul Excel Worksheet Functions 1 November 2nd 06 08:48 PM
How do I copy a cell (content AND format) from one worksheet to a. Excel Format Copy Excel Worksheet Functions 1 February 9th 05 10:34 PM
How to sum value from master worksheet taking value from other close worksheet nuha1578 Excel Programming 1 November 3rd 03 02:58 PM


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

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

About Us

"It's about Microsoft Excel"