Hi Friends,
I’m working on an automation wherein i’m trying to fill an online form having data in Excel. Automation is working fine.
Problem: A few cell has data which have line breaks. However, when i’m trying to paste data in a form,field, the line breaks doesn’t appear.
Example
Cell data
ABC
XYZ
Form : ABC XYZ
Please let me know how can I paste in the cell format. I’m using type into activity to pass the data.
Thanks,
Anuj
Line break in a cell of Excel is not CRLF but LF.
So, you need to Replace LF to CRLF like data.Replace(vbLf,vbCrLf) to use TypeInto activity default mode
If you want to use simulate type mode and your target is textarea, you might need to use like data.Replace(vbLf,"\n")