Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with a macro


I wrote something about this last night. it was not a very good exampl
of what I needed. It was a very long night when I posted it. I was a
the Hospital the entire night before and had just gotten home. havein
said that this is what I need.

A macro that finds the data in column A in Book1 and seaches for it i
column A in Book2. Retrieves the desciption from colmun B in book tw
and copys it to column B in book1 and then repeats this until i
reaches the last cell of column A in Book1 which has a value o
"DATA_END".

Just in case of any confusion I will include a sample of Book1 and
and a book of what i need it to look like when finished

+-------------------------------------------------------------------
|Filename: Finished example.txt
|Download: http://www.excelforum.com/attachment.php?postid=2689
+-------------------------------------------------------------------

--
drew
-----------------------------------------------------------------------
drewd's Profile: http://www.excelforum.com/member.php...fo&userid=1474
View this thread: http://www.excelforum.com/showthread.php?threadid=26572

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help with a macro

A question. You show a value of R15 with a result taken from the second
group of values in Book2. But R15 does not appear in the list of values in
that second group. How do you determine that the results for R15 should
come from the second group.

Also, the list of entries you show in book2 (the list of codes found in
Book1), is this list in a single cell or is it column A but in multiple
rows?

--
Regards,
Tom Ogilvy




"drewd" wrote in message
...

I wrote something about this last night. it was not a very good example
of what I needed. It was a very long night when I posted it. I was at
the Hospital the entire night before and had just gotten home. haveing
said that this is what I need.

A macro that finds the data in column A in Book1 and seaches for it in
column A in Book2. Retrieves the desciption from colmun B in book two
and copys it to column B in book1 and then repeats this until it
reaches the last cell of column A in Book1 which has a value of
"DATA_END".

Just in case of any confusion I will include a sample of Book1 and 2
and a book of what i need it to look like when finished.


+-------------------------------------------------------------------+
|Filename: Finished example.txt |
|Download: http://www.excelforum.com/attachment.php?postid=2689 |
+-------------------------------------------------------------------+

--
drewd
------------------------------------------------------------------------
drewd's Profile:

http://www.excelforum.com/member.php...o&userid=14749
View this thread: http://www.excelforum.com/showthread...hreadid=265725



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
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
using a cell value to control a counter inside a macro and displaying macro value ocset Excel Worksheet Functions 1 September 10th 06 05:32 AM
macro to delete entire rows when column A is blank ...a quick macro vikram Excel Programming 4 May 3rd 04 08:45 PM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


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