Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am seaching through a column of data and when I find a cell that has
matching data I want to insert data into other columns in the same row. Also How do I define a blank cell in my search? I don't want any insertions past the last row of data as I'm thinking if I have the "blank" cell case it will keep on inserting data into the other columns for ever. Code: -------------------- Columns("B:B").Select For Each C In Selection Select Case UCase(C) Case "115297": then insert into A "22" and insert into I "23" Case "276534": then insert into A "27" and insert into I "93" Case "blank?": then insert into A "999" and insert into I "999" End Select Next C -------------------- --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA: Column Select then Data Select then return to cell A1 | Excel Discussion (Misc queries) | |||
select dependent cells in the result cell | Excel Discussion (Misc queries) | |||
select every other cell in a column | Excel Discussion (Misc queries) | |||
If column = value sum another column and place result in cell | Excel Discussion (Misc queries) | |||
how to display the column or cell the MIN() result came from? | Excel Worksheet Functions |