View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Tomasz Jastrzebski Tomasz Jastrzebski is offline
external usenet poster
 
Posts: 4
Default How to handle objects drag-drop? (Excel 2007 + VS 2008)

One more question.

How do I modify code like below

tvData.DoDragDrop("=MyFn(" + item.Text +")", DragDropEffects.Copy)

so my custom function gets pasted and evaluated, rather than just a text?
The problem is not the function (when typed into cell it works) but that
Excel does not evaluate text copied this way as a function.

Tomasz