Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

bloqueo copiar y pegar

publicado

Buenas noches,

consulta, ¿es posible bloquear celdas para que no se permita copiar ni pegar con teclado y mouse?

y que estas no afecten a otros libros de excel que estén abiertos?

ya que necesito que el archivo sea llenado celda por celda.

esto estoy usando, que encontré por internet.

 

muchas gracias a todos.

 

Private Sub Workbook_Open()
Application.OnKey "^{c}", "" 'anula copiar
Application.OnKey "^{x}", "" 'anula cortar
Application.OnKey "^{v}", "" 'anula pegar
End Sub

Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)
Cancel = True
End Sub


 

Featured Replies

publicado

El codigo lo tienes que poner en el evento change de la hoja.

Private Sub Worksheet_Change(ByVal Target As Range)
Application.OnKey "^{c}", "" 'anula copiar
Application.OnKey "^{x}", "" 'anula cortar
Application.OnKey "^{v}", "" 'anula pegar
End Sub

 

Saludos,

publicado
  • Autor

Hola, muchas gracias Toldeman, lo probaré y te comento,
pd: entiendo que es en cada hoja donde se debe aplicar. lo haré así.

 

 

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.