D
David Thielen
Hi;
When we provide a IDataObject to Excel for a Drag & Drop operation,
when the user actually drops the text in Excel, we need to handle that
ourselves as Excel replaces the text in the cell and we want to add
it. Plus for one object, we need to write to multiple cells.
The problem is, Excel calls IDataObject.GetData() twice - once
immediately and then again when dropping the text. Is it safe to
assume that Excel will always call GetData() exactly twice? Or is
there some other way to know when Excel is calling it to drop as
opposed to doing so, I assume, as a way to verify that the data format
it wants is available.
And does this rul hold for Excel 2000/2002/2003/2007?
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm
When we provide a IDataObject to Excel for a Drag & Drop operation,
when the user actually drops the text in Excel, we need to handle that
ourselves as Excel replaces the text in the cell and we want to add
it. Plus for one object, we need to write to multiple cells.
The problem is, Excel calls IDataObject.GetData() twice - once
immediately and then again when dropping the text. Is it safe to
assume that Excel will always call GetData() exactly twice? Or is
there some other way to know when Excel is calling it to drop as
opposed to doing so, I assume, as a way to verify that the data format
it wants is available.
And does this rul hold for Excel 2000/2002/2003/2007?
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm