Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default A macro that copies and pastes autofiltered cells will fail.

Take a spreadsheet with data. Start recording a macro. Autofilter some of
the cells. Copy all of the cells of the spreadsheet. Paste the cells into an
empty spreadsheet. Go back to the first spreadsheet and turn off autofilter.
Turn off the macro.

Delete the contents of the second spreadsheet. Go back to the first
spreadsheet and try to run the macro. The macro will run but the second
spreadsheet will not be filled. The command, "ActiveSheet.paste" will not be
present in the macro. If you add the command. the macro will halt with a
1004 error.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default A macro that copies and pastes autofiltered cells will fail.


Does not sound right to me?

It works in Excel 2002 SR-2

--
Cheers
Nigel



"Mafunzalo" wrote in message
...
Take a spreadsheet with data. Start recording a macro. Autofilter some of
the cells. Copy all of the cells of the spreadsheet. Paste the cells into

an
empty spreadsheet. Go back to the first spreadsheet and turn off

autofilter.
Turn off the macro.

Delete the contents of the second spreadsheet. Go back to the first
spreadsheet and try to run the macro. The macro will run but the second
spreadsheet will not be filled. The command, "ActiveSheet.paste" will not

be
present in the macro. If you add the command. the macro will halt with a
1004 error.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default A macro that copies and pastes autofiltered cells will fail.

It worked in my Excel 2002, too. The error showed when I upgraded to 2003.

"Nigel" wrote:


Does not sound right to me?

It works in Excel 2002 SR-2

--
Cheers
Nigel



"Mafunzalo" wrote in message
...
Take a spreadsheet with data. Start recording a macro. Autofilter some of
the cells. Copy all of the cells of the spreadsheet. Paste the cells into

an
empty spreadsheet. Go back to the first spreadsheet and turn off

autofilter.
Turn off the macro.

Delete the contents of the second spreadsheet. Go back to the first
spreadsheet and try to run the macro. The macro will run but the second
spreadsheet will not be filled. The command, "ActiveSheet.paste" will not

be
present in the macro. If you add the command. the macro will halt with a
1004 error.




Reply
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
command button that copies and pastes from one list box to another gbpg Excel Discussion (Misc queries) 8 August 21st 07 06:42 AM
Some formulas don't track copies, pastes, fill right, fill down whiten Excel Discussion (Misc queries) 2 October 1st 06 04:41 PM
A Macro that Copies from Excel & Pastes into a webpage Eric Excel Discussion (Misc queries) 1 July 14th 06 12:38 AM
Copies 02/22/2005, Pastes 02/21/2001 Carole O Excel Worksheet Functions 3 March 2nd 05 08:28 PM
change a macro so that it copies and pastes data as values rather than references Meg[_2_] Excel Programming 3 December 17th 03 09:35 PM


All times are GMT +1. The time now is 11:13 AM.

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

About Us

"It's about Microsoft Excel"