Solved Paste values only (1 Viewer)

Guus2005

AWF VIP
Local time
Today, 14:16
Joined
Jun 26, 2007
Messages
2,564
Dear reader,

I have a protected workbook and sheets but i am unable to prevent users from copying and pasting values in my sheets.
It is a popular way to use the spreadsheet and fill it with data. I can understand that.

But copying a value from one spreadsheet to another using ^c, ^v always copies the formatting also.
Is there a way to paste values only, without the obvious rightclick and select paste values, because the mouse rightclick was succesfully disabled.

Thanks for your time.
 

Ranman256

Registered User.
Local time
Today, 08:16
Joined
Apr 9, 2015
Messages
3,571
If the sheet is protected,then one cannot type,nor paste anything into the sheet.
 

arnelgp

error reading drive A:
Local time
Today, 20:16
Joined
May 7, 2009
Messages
9,580
Alt-e, s, v (click OK)
 

Guus2005

AWF VIP
Local time
Today, 14:16
Joined
Jun 26, 2007
Messages
2,564
Thanks Ranman256 and arnelgp,

In Access we can catch keystrokes using the AutoKeys macro.
What is the equivalent in Excel?
 

pisorsisaac@gmail.co

Active member
Local time
Today, 05:16
Joined
Mar 14, 2017
Messages
932
There is no way to programmatically capture the event of pasting, specifically. But you may be able to code worksheet change event and then Clear formatting from the Target. That may be too sweeping a result, though, for your needs.
 

Guus2005

AWF VIP
Local time
Today, 14:16
Joined
Jun 26, 2007
Messages
2,564
If it was for personal use only, i would have considered the last solution by Arnelgp. But it is an application for a few hundred users, and i don't know if the solution is worse than the problem.
As you can understand, it is a big risk to introduce this solution when only 1 user has this problem.
So i will leave it the way it is.

Thanks for your time!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top Bottom