PC Review


Reply
Thread Tools Rate Thread

"Cannot change part of a merged cell" when AutoFilter is turned on

 
 
relative_virtue@hotmail.com
Guest
Posts: n/a
 
      14th Mar 2007
Some help needed. I am trying to write a macro that will copy and
paste all the visible rows and columns from one spreadsheet to
another, including formatting.

Unfortunately, there is a problem. When I try to use the .Copy
or .Select methods, I get the above error. This only seems to be
caused when the following conditions are true:
a) There are hidden merged cells in the selected range; and
b) an AutoFilter has been turned on.

I simply cannot find a way around this. As the point of this macro is
to create a static (and non-macroed) version of a filtered extract
from the main file, I really need it to work with hidden columns and
rows.

Any thoughts or advice would be appreciated.

Best regards,

Tristan

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Cannot change part of merged cell" =?Utf-8?B?RXhjZWxIZWxwTmVlZGVk?= Microsoft Excel Discussion 1 6th Jul 2006 06:33 PM
"Cannot Change Part of a Merged Cell" When updating link using mac =?Utf-8?B?TWFkaGF2YQ==?= Microsoft Excel Programming 1 25th Oct 2005 10:14 AM
Cannot change part of a merged cell happyPotter Microsoft Excel Programming 2 6th Jul 2005 05:32 PM
Cannot change a part of a merged cell kylin Microsoft Excel Worksheet Functions 2 21st Nov 2003 02:34 PM
Re: How can I change the Excel, Autofilter, Custom default from "equals"to "contains"? Dave Peterson Microsoft Excel Misc 0 19th Jul 2003 12:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:56 PM.