Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Strange "paste" behaviour
Hi all,
I have a problem with pasting a tab-delimited text file programmatically into a worksheet, e.g. by using Worksheet.Paste(Range, Type.Missing) (I use C# and Office 2000). It basically does not recognize floating numbers, e.g. they turn out as integeres. However, if paste the file via short-cut Ctr-V or the paste command from the toolbar, everything works fine. Thanks, Carl |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Strange "paste" behaviour
Sure the cells are not just formatted to show no decimal values. If you
select the cell manually and look in the formula bar, do you see the original decimal/floating point value? -- Regards, Tom Ogilvy " wrote: Hi all, I have a problem with pasting a tab-delimited text file programmatically into a worksheet, e.g. by using Worksheet.Paste(Range, Type.Missing) (I use C# and Office 2000). It basically does not recognize floating numbers, e.g. they turn out as integeres. However, if paste the file via short-cut Ctr-V or the paste command from the toolbar, everything works fine. Thanks, Carl |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Strange "paste" behaviour
On 7 Feb., 14:43, Tom Ogilvy
wrote: Sure the cells are not just formatted to show no decimal values. If you select the cell manually and look in the formula bar, do you see the original decimal/floating point value? This was the first thing I had checked before posting here. No, it seems to be no direct format issue. Furthermore, why does paste via Toolbar's Paste button work then, e.g. CTRL-v ? I'm just wondering whether CTRL+v actually does something different then Worksheet.Paste only. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Shortcut key for "Paste Options" and "Error Checking" buttons? | Excel Discussion (Misc queries) | |||
What is Error "Method "Paste" of object "_Worksheet" failed? | Excel Programming | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) | |||
Excel VBA ".value" / Strange Behaviour!!! | Excel Programming | |||
Strange "FormatCells" behaviour | Excel Worksheet Functions |