c# - Cryptic exception copy/pasting from DataGridView into Excel 2002 -


good morning,

running visual studio 2008 (c# 3.5). datagridview loaded manually (not data bound). copy/pasting notepad/wordpad works fine, when try copy/paste excel weird exception:

invalid formatetc structure (exception hresult: 0x80040064 (dv_e_formatetc))

this working of last friday. i'm stumped. pretty sure has worked in past. i've tried rebooting, re-adding datagridview control. appreciated.

regards, -alan.

perhaps of data being interpreted excel formula (like 5/0).

you try pat's suggestion first (it's easier!).

also, try pasting text notepad first, copying notepad, , pasting excel.

if still errors, try pasting first half of text in notepad. if succeeds, paste second half. key try narrow down string of text causing excel barf on you.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -