View Single Post
Old 05-06-2004, 09:01 AM   #1 (permalink)
John Henry
Addict
 
Location: Grey Britain
Access -> Excel (CSV), linefeed & square boxes

I need to move data from an access database to an excel spreadsheet, but at the moment, all the linefeeds are coming out as little square boxes. I tried using a bit of vb code from the msdn site, that is supposed to solve the reverse problem (ie. excel->Access) and just swapping the find and replace fields, but this did nothing.

The code is written in such a way that if each field wasn't being fed through this function, nothing would come up on the spreadsheet at all, so the only answer I can think of is that I'm not searching with the correct ASCII code. Anyone know what it's likely to be? Or have any ideas how I can find out? Or can you think of a way round it? Anything, really.

Cheers

JH
__________________
"No one was behaving from very Buddhist motives. Then, thought Pigsy, he was hardly a Buddha, nor was he a monkey. Presently, he was a pig spirit changed into a little girl pretending to be a little boy to be offered to a water monster. It was all very simple to a pig spirit."
John Henry is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62