LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default A Tale of Two Cities- Find and add

Hi,

I am trying to write a program a macro that will help me accomplish a
find and add. Please forgive me if this is too complex of a post but
I am new at programming so I hope someone might be able to help me out

I have a column entitled color and it lists the colors of cars on
specific lots.

[Lot] [Color]
214 3ax Red
214 3ax Green
214 3yb Yellow
386 3ax Blue
386 3yb Gray
386 2xb Yellow

My problem is that the letters and numbers in front of the color may
change, but somewhere in the color column there will always be the
color name (i.e. Red).

I have a predetermined list of colors (there are many different kinds
of colors) and I am trying to write a macro that scans the color
column for each lot and if finds that a specific color keyword is
missing it will add a row to the end of the lot and add the missing
color name into it.

So if the macro went through all the records in lot 214 and saw that
the color gray was missing it would go to the end of that section and
add a row and put the word "gray" in the second column of the new row.

I know this is a little complex, but any assistance that any one could
offer would be highly appreciated.

Sincerely,
Rambo

 
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
Linking Zip codes and Cities Lycean Excel Discussion (Misc queries) 4 October 26th 09 09:41 PM
calculate km's between two cities Michelle Excel Discussion (Misc queries) 2 May 24th 07 07:55 PM
Purging ZIPCODES from a string of cities and zips Bruce Excel Worksheet Functions 7 November 27th 06 10:53 AM
How do I insert map detail to a map? I.e. Cities, countries etc. house_of_simone Excel Discussion (Misc queries) 4 July 21st 06 03:46 PM
How do I sort a list of cities in US by randomize in MS Excel or . Tam Excel Discussion (Misc queries) 1 April 13th 05 07:34 PM


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