I want to find a word with new line in the excel sheet using VBA. To do that I have written the VBA macro as follow:
Set columnIndex1 = headerRow.Find("AAA " & vbCrLf & "BBB", LookIn:=xlValues)
where the text I have to search is: *AAA newline BBB* VBA not detecting new line. What could be the solution?