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: 1
Default Reading a list


I want to create a macro that will read in a range of cells (ex: i2 -
as2)
and then look at each value in the cells. If that value matches a
certain
value I would like it to print out a certain phrase. But if it doesn't
then I
would like it to not do anything and just move on until it finds the
equal
value. Look through a row to find a value and for each case found,
print out
a phrase in column.

Example:
If you have table,
...x y z
a 1 1 1
b 0 0 1
c 1 1 0

abc are names while xyz and certain topics. if a has a 1 value for any
of
the xyz i want it to print out something like:
a.....x
.......y
.......z

b.....z

c.....x
.......y

If I'm not making clear just let me know and I'll try to clarify. Also

remember that I'm new to macros so I might need some additional
guidance.


--
asianmike
------------------------------------------------------------------------
asianmike's Profile: http://www.excelforum.com/member.php...o&userid=30973
View this thread: http://www.excelforum.com/showthread...hreadid=507654

 
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
Reading a list of names to update their records Tom Excel Discussion (Misc queries) 1 December 3rd 09 10:20 PM
Reading from comma seperated List Shashi Bhosale Excel Programming 2 May 29th 05 06:50 PM
Reading data from a filtered list Lucas Soler Excel Programming 1 April 25th 05 06:52 PM
Reading List Box Value Tom Ogilvy Excel Programming 2 September 25th 03 08:03 PM
Reading List Box Value Dave Peterson[_3_] Excel Programming 1 September 25th 03 01:43 PM


All times are GMT +1. The time now is 12:05 PM.

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"