LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Excel crash on pasting as values

Hi,

I have a Excel 97-2003 workbook. And on one of the sheets there is a Table
inserted from Data-Table which does some interest calculation.

When this workbook is opened in Excel 2007 following code is run Excel
crashes.

Whereas in Excel 97 I get "Method PasteSpecial of object Range failed" error
for the first time. If I stop and re-run the code formulas for the table are
removed.

Code:
Cells.Select

Selection.Copy

Selection.PasteSpecial xlValues

Cells(1, 1).Select

Does anybody have any idea about this.

Pls. let me know if you want to have a look at the workbook.

Thanks in advance.

-Anand
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Pasting Values and not Formula David Adamson Excel Discussion (Misc queries) 0 January 15th 09 11:15 PM
Excel is pasting values, not formulas by default Kirstin Excel Discussion (Misc queries) 3 July 4th 08 02:23 AM
Excel clipboard should allow pasting of formulae not just values Desperate Don Excel Discussion (Misc queries) 0 April 28th 05 05:54 PM
Pasting values from a closed Excel instance Jan Kronsell[_3_] Excel Programming 3 April 27th 05 07:12 AM


All times are GMT +1. The time now is 04:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"