Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sStr = Trim(Range("A1") & Range("A2") & Range("A3") & Range("A4"))
msgbox sStr or for each cell in Range("A1:A4") if not isempty(cell) then sStr = cell.Value exit for end if Next msgb sStr -- Regards, Tom Ogilvy "joe" wrote in message ... I am trying to write an equation that will search the contents of 4 cells and return the value of the only cell with data. Any ideas on how to do that? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why does my spreadsheet re-calc so slowly ? | Excel Discussion (Misc queries) | |||
Calc = Manual & Do Not Calc b/4 SAVE | Excel Discussion (Misc queries) | |||
How come the spreadsheet says calc when it is set to autocalc | Excel Discussion (Misc queries) | |||
Why does my spreadsheet calc slower when many other windows are op | Excel Discussion (Misc queries) | |||
auto calc on, but have to edit (f2) cells to force re-calc..help! | Excel Worksheet Functions |