Hello all,
I am writing a VB.net Windows forms application that needs to paste data captured in the Windows clipboard from an Excel 2010 worksheet into a datagridview. I thought it was working fine until I noticed that if an Excel cell's underlying value is 0.987654321 and it has been formatted to only display 3 decimal points (0.988), the value pasted into the grid is 0.988.
That seems sensible, however, there are some clever applications in the market that manage to extract the original, full precision data, from the clipboard. Does anyone know how they manage to achieve this?
Many thanks,
Richard
I am writing a VB.net Windows forms application that needs to paste data captured in the Windows clipboard from an Excel 2010 worksheet into a datagridview. I thought it was working fine until I noticed that if an Excel cell's underlying value is 0.987654321 and it has been formatted to only display 3 decimal points (0.988), the value pasted into the grid is 0.988.
That seems sensible, however, there are some clever applications in the market that manage to extract the original, full precision data, from the clipboard. Does anyone know how they manage to achieve this?
Many thanks,
Richard