Hi,
When I am copying data from ASP to Excel via an OCX, I am including & CHR(9) to tab the data and & CHR(10) to line feed the data.
When I take in the input string like this, copy it to the clipboard and then paste it into CellA1 it correctly tabs the data into B1, C1, D1 before hitting the CHR(10) to wrap it to a new line.
However, if I try and insert the data directly into cell A1 without using the clipboard it attempts to insert all the data into A1 only and I see little circles where the Tabs and Line Feeds were...does anyone know how to make Excel recognise the tabs without me having to use the clipboard?
When I am copying data from ASP to Excel via an OCX, I am including & CHR(9) to tab the data and & CHR(10) to line feed the data.
When I take in the input string like this, copy it to the clipboard and then paste it into CellA1 it correctly tabs the data into B1, C1, D1 before hitting the CHR(10) to wrap it to a new line.
However, if I try and insert the data directly into cell A1 without using the clipboard it attempts to insert all the data into A1 only and I see little circles where the Tabs and Line Feeds were...does anyone know how to make Excel recognise the tabs without me having to use the clipboard?