PC Review


Reply
Thread Tools Rate Thread

Cut/Paste - More problems

 
 
=?Utf-8?B?VG9vU2ltcGxl?=
Guest
Posts: n/a
 
      21st Feb 2007
I have a procedure that allows the user to execute the Excel cut/paste
function over selected (unprotected) ranges of cells. I need to do some
“housekeeping” on the row or rows from which cells are cut. I have been
unable to determine however the number of this row or rows. I can identify
the number of the destination row by using “rw = Application.ActiveCell.Row”.
Any ideas on how to determine the number of the cut/paste “source” row? Any
suggestions would be appreciated.
 
Reply With Quote
 
 
 
 
Alan
Guest
Posts: n/a
 
      22nd Feb 2007
Your procedure could only cancel their right to cut/paste. By default Excel
allows all users the ability to cut/paste.

Housekeeping the area where cells have been cut? You lost me there. If the
cells were cut, there is nothing there to clean up, if they were pasted
somewhere else. Cut removes everything from a cell, value and formatting,
nothing left but "" and default format.

There is no code in the world that could find what area had been cut or
pasted on a worksheet, unless you are tracking with change events in a
thisworkbook module.

Regards,

Alan


"TooSimple" <(E-Mail Removed)> wrote in message
news:A76B27CD-1D92-41EC-ADB6-(E-Mail Removed)...
>I have a procedure that allows the user to execute the Excel cut/paste
> function over selected (unprotected) ranges of cells. I need to do some
> "housekeeping" on the row or rows from which cells are cut. I have been
> unable to determine however the number of this row or rows. I can
> identify
> the number of the destination row by using "rw =
> Application.ActiveCell.Row".
> Any ideas on how to determine the number of the cut/paste "source" row?
> Any
> suggestions would be appreciated.



 
Reply With Quote
 
=?Utf-8?B?VG9vU2ltcGxl?=
Guest
Posts: n/a
 
      22nd Feb 2007
Hello Alan,

Only a limited number of cells in a row are unprotected and therefore can be
cut. All others are protected. These are the cells that need
"housekeeping'. As I said in my initial query, I CAN determine what the
destination row is but not the original or source row.

"Alan" wrote:

> Your procedure could only cancel their right to cut/paste. By default Excel
> allows all users the ability to cut/paste.
>
> Housekeeping the area where cells have been cut? You lost me there. If the
> cells were cut, there is nothing there to clean up, if they were pasted
> somewhere else. Cut removes everything from a cell, value and formatting,
> nothing left but "" and default format.
>
> There is no code in the world that could find what area had been cut or
> pasted on a worksheet, unless you are tracking with change events in a
> thisworkbook module.
>
> Regards,
>
> Alan
>
>
> "TooSimple" <(E-Mail Removed)> wrote in message
> news:A76B27CD-1D92-41EC-ADB6-(E-Mail Removed)...
> >I have a procedure that allows the user to execute the Excel cut/paste
> > function over selected (unprotected) ranges of cells. I need to do some
> > "housekeeping" on the row or rows from which cells are cut. I have been
> > unable to determine however the number of this row or rows. I can
> > identify
> > the number of the destination row by using "rw =
> > Application.ActiveCell.Row".
> > Any ideas on how to determine the number of the cut/paste "source" row?
> > Any
> > suggestions would be appreciated.

>
>
>

 
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
HELP - Excel 2003 cut, copy, paste and paste special problems Carrie Microsoft Excel Crashes 2 9th Dec 2008 06:36 PM
Cut and paste problems! cstratton Microsoft Excel Misc 2 4th Dec 2008 05:59 PM
Paste problems Olga Microsoft Excel Misc 1 19th Feb 2008 08:14 PM
Problems With Paste =?Utf-8?B?SmFtZXMgU3RlcGhlbnM=?= Microsoft Excel Programming 1 15th Jan 2004 06:54 PM
Re: Cut and Paste problems Plato Windows XP General 0 11th Sep 2003 03:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:14 AM.