Condensing VBA code

  • Thread starter Thread starter Brad
  • Start date Start date
B

Brad

Can the following code be reduced?

Application.Proper(Cells(cell.Row, "C").Value) & " " &
Application.Proper(Cells(cell.Row, "B").Value)
 
Application.Proper(Cells(cell.Row, "C").Value & " " & Cells(cell.Row, "B").Value)
 
Thank you

I didn't know if you could somehow have
Application.Proper(Cells(cell.row, "C"&" "&"B").Value
 
You're welcome.

But you cannot do what you describe - you need to process the multiple values separately...

HTH,
Bernie
MS Excel MVP
 
Back
Top