How to find enter and space in the excel cell value by uisng VBA. For example if the cell value contain value like “Some value” then How to find that this cell contain space. In second case if the cellvalue contain Enter like while typing values in a cell if someone write “Some” and the press enter and then write “value” then how to find this enter.
I am using excel 2007
Thanks
How to find enter and space in the excel cell value by uisng VBA.
Share
You can’t hit enter to get a new line in Excel, you have to hit alt + Enter. You can use the VBA constant vbLf in your Instr to find it.
Jesse