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.

boton para eliminar datos

publicado

ESTIMADOS 

buenas noches , nuevamente vengo... si es posible me ayuden (Pls)

en el Userform3 tengo un boton que dice Eliminar ( la idea es que borre datos de la hoja 2 )

y No se como hacerlo  ... disculpen me ayudarian con la sintaxis...

Descarga Historica 2 eliminar.xlsm

Featured Replies

publicado

A mi parecer creo que la mejor opcion seria utilizar un ListBox donde salgan todos los registros y puedes hacer un buscador para que te filtre el dato que deseas y asi puedas modificar o eliminar

publicado
Private Sub CommandButton11_Click()
Dim Descarga As Range
Set Descarga = Sheets("Hoja2").Columns("C").Find(TextBox2, lookat:=xlWhole)
If Not Descarga Is Nothing Then
   Descarga.EntireRow.Delete
   CommandButton6_Click
End If
End Sub
'---------
Private Sub CommandButton6_Click()
TextBox2.Text = ""
TextBox12.Text = ""
TextBox13.Text = ""
TextBox14.Text = ""
TextBox15.Text = ""
TextBox16.Text = ""
TextBox17.Text = ""
TextBox18.Text = ""
TextBox19.Text = ""
TextBox20.Text = ""
TextBox23.Text = "" '<-------------------- estaba mal
TextBox2.SetFocus ' EL SetFocus devuelve el cursor al inicio
End Sub

 

Editado el por Antoni

  • 2 weeks later...
publicado
  • Autor

gracias pero con listbox ? será mas complejo...

Gracias Antonio por su ayuda RESULTO el boton Eliminar 

 

Tema Resuelto

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.