Jumat, 24 Februari 2012

[ExcelVBA] Re: Copy vs Cut with Visible Cells

 

David, 
Thanks for the comment, but cutting does not remove the source rows - it just empties the cells.

I've done some more experimenting and I now see that the problem has nothing to do with filtering. If you select the cells in, say, rows 2 and 4, you cannot cut them, and you get the same error message

The command you chose cannot be performed on multiple selections 

However, you can  select rows 2 and 4, right click and chose Delete. That deletes just the selected rows, and the remaining rows move up to fill in the empty rows. 

I Googled the error message and found a page where someone asked the same question about why copy works but cut doesn't. He was answered by someone who said, in effect, that's the way it works.

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar