Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nullchar in excel

Status
Not open for further replies.

sebpas

IS-IT--Management
Mar 30, 2001
39
CA
Hi,

I'm trying to write the content of an excel cell with a binary image file and can't get the chr(0) to insert.
If i send the vb string, it stops as the first occurence of a nullchar and if I send char per char, it just won't put the chr(0) in between all of the chars.
I tried with the clipboard and still doesn't work. My guess is that the excel object simply doesn't allow to send a nullchar to a cell.
Any other way I could do this would be very appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top