LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
lunar1085
 
Posts: n/a
Default Working with Macros-Activesheet.Paste


I wrote a macros that copies data from a worksheet, creates a new
worksheet, assigns a name to it and pastes the copied data, but now is
failing when pasting. It does paste 2 lines of data and then quits.
My macros is giving out an error Run-Time-error: Method 'Paste' of
Object '_worksheet failed'
What is strange is that it was running right then started failing.

I appreciate your help


+-------------------------------------------------------------------+
|Filename: Sub MainSubDue.doc |
|Download: http://www.excelforum.com/attachment.php?postid=4310 |
+-------------------------------------------------------------------+

--
lunar1085
------------------------------------------------------------------------
lunar1085's Profile: http://www.excelforum.com/member.php...o&userid=30639
View this thread: http://www.excelforum.com/showthread...hreadid=508166

 
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 crashes while opening excel file imbeddied with macros ct2147 Excel Discussion (Misc queries) 0 December 30th 05 09:05 PM
Shift key to disable macros not working David P. Excel Discussion (Misc queries) 5 November 14th 05 07:52 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
New to Macros Richard D Excel Discussion (Misc queries) 3 October 13th 05 07:23 PM
Creating a macros to copy and paste cells Karin Schmidt Excel Discussion (Misc queries) 1 August 4th 05 07:07 PM


All times are GMT +1. The time now is 01:48 PM.

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"