Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default Copy Cell and Paste in Same Column Only

I have a spreadsheet that is protected from allowing users to copy and paste
in the spreadsheet as to prevent pasting cells over other with certain
formats. Is it possible for a user to copy a cell and paste within the the
same column (not including the header). This is the code is have to prevent
them from copying and pasting in general:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Select Case Application.CutCopyMode = False
Case Is = False
MsgBox "You can not copy and paste."
End Select
Application.CutCopyMode = False
Application.CellDragAndDrop = False

End Sub

Thanks
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
Copy a column and paste to another tab to save the data for each m liem Excel Discussion (Misc queries) 3 January 17th 10 03:14 AM
Why won't the copy/paste from PDF retain the row/column in excel? checkQ Excel Discussion (Misc queries) 4 September 2nd 08 04:33 PM
Copy contents in a row and paste in a column CJMFH Setting up and Configuration of Excel 1 July 15th 05 03:14 PM
Copy/Paste Macro and Column Sizing JimK Excel Programming 2 August 27th 04 06:08 PM
Copy Column and Paste steveh[_3_] Excel Programming 2 February 2nd 04 01:36 PM


All times are GMT +1. The time now is 02:18 PM.

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"