Cómo evitar copiar y pegar en Excel
huyari
Mensajes publicados
20
Estado
Miembro
-
skk201 Mensajes publicados 942 Fecha de registro Estado Miembro Última intervención -
skk201 Mensajes publicados 942 Fecha de registro Estado Miembro Última intervención -
Bonjour,
I would like to prevent copying and pasting in some Excel columns while allowing the user to write in those columns!!
Is it possible?
Do you have any ideas?
Unfortunately, I don't have much knowledge in VBA...
Thank you!!
Configuration: Windows 7 / Firefox 13.0.1
I would like to prevent copying and pasting in some Excel columns while allowing the user to write in those columns!!
Is it possible?
Do you have any ideas?
Unfortunately, I don't have much knowledge in VBA...
Thank you!!
Configuration: Windows 7 / Firefox 13.0.1
1 respuesta
Hola,
en este sitio encontrarás el código para anular Ctrl+C y Ctrl+V (copiar/pegar por atajo de teclado)
http://www.vbaexpress.com/kb/getarticle.php?kb_id=373
Y añade este código en el VBA de tu hoja para anular el copiar/pegar del ratón
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
If Not Application.Intersect(Target, Range("A2:A32")) Is Nothing Then
Cancel = True
End If
End Sub
¡Hasta luego!
en este sitio encontrarás el código para anular Ctrl+C y Ctrl+V (copiar/pegar por atajo de teclado)
http://www.vbaexpress.com/kb/getarticle.php?kb_id=373
Y añade este código en el VBA de tu hoja para anular el copiar/pegar del ratón
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
If Not Application.Intersect(Target, Range("A2:A32")) Is Nothing Then
Cancel = True
End If
End Sub
¡Hasta luego!
¿Sabes si estas macros también bloquean el copiar/pegar a través de una macro?
Porque me gustaría evitar que las personas peguen información en el libro, pero permitir una macro que sirve para hacer una especie de respaldo, pero que utiliza las funciones de copiar/pegar.