Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy cell and paste in same column
Does anyone know if it is possible for a user to copy a cell or range of
cells from column and then paste in the same column? I want to prevent the users from copying a cell then pasting into another column that is formatted differently. Any advise would be greatly appreciated! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy cell and paste in same column
I think you would have to use the selection change event to manage this.
Think through what actions would be required - storing the last selection, determining if the user had the potential to paste, unprotecting the sheet locking all cells except the accepted column and unlocking that, reprotecting the sheet. Plus considering what else is going on in your sheet. Then put code to manage that in the selection change event. Also, when you make these changes, the clipboard may be cleared, so you would need to used your record of the last range to recopy it. Of course if the user disables macros or disables events, your efforts would be thwarted. -- Regards, Tom Ogilvy "April" wrote in message ... Does anyone know if it is possible for a user to copy a cell or range of cells from column and then paste in the same column? I want to prevent the users from copying a cell then pasting into another column that is formatted differently. Any advise would be greatly appreciated! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy a column and paste to another tab to save the data for each m | Excel Discussion (Misc queries) | |||
Copy contents in a row and paste in a column | Setting up and Configuration of Excel | |||
Copy and Paste macro needs to paste to a changing cell reference | Excel Programming | |||
Copy Cell and Paste in Same Column Only | Excel Programming | |||
Copy Column and Paste | Excel Programming |