Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
it throws "Type Mismatch (13)" on the "for each" line only if the range is
strings, numbers work fine, but I need it to be strings Dim addresses As String For Each c In IIf(Range("C3").End(xlDown), Range("C3", Range("C3").End(xlDown)), Range("C3")) If addresses < "" Then addresses = addresses & ", " & c.Value Else addresses = c.Value End If Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What's wrong with this if statement? | Excel Discussion (Misc queries) | |||
can someone please tell me what i did wrong with this if statement? | Excel Programming | |||
IF Statement help please - again - got it wrong last time! | Excel Worksheet Functions | |||
wts wrong with this statement | Excel Worksheet Functions | |||
What is wrong with this IF statement? need help. | Excel Discussion (Misc queries) |