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.

codigo egresos caja chica

publicado

necesito su ayuda *******...tengo un pequeño problema con el siguiente codigo:

Private Sub CommandButton1_Click()

Dim i As Integer

Dim final As Integer

For i = 1 To 1000

If Hoja2.Cells(i, 1) = "" Then

final = i

Exit For

End If

Next

Hoja3.Cells(final + 1, 1).Offset(3, 0) = UserForm4.TextBox1

Hoja3.Cells(final + 1, 3).Offset(3, 0) = UserForm4.TextBox2

Hoja3.Cells(final + 1, 4).Offset(3, 0) = UserForm4.TextBox3

Hoja3.Cells(final + 1, 5).Offset(3, 0) = UserForm4.TextBox4

Hoja3.Cells(final + 1, 6).Offset(3, 0) = UserForm4.TextBox5

UserForm4.TextBox1 = ""

UserForm4.TextBox2 = ""

UserForm4.TextBox3 = ""

UserForm4.TextBox4 = ""

UserForm4.TextBox5 = ""

UserForm25.Hide

UserForm4.Hide

End Sub

el problema que tengo es el siguiente...los datos se almacenan en una hoja de calculo, ingreso el primer egreso se registra bien pero el segudo se sobre escribe en el primero...por favor quiero saber donde esta mi error

Featured Replies

publicado

Hola! pixel

Fíjate que la celda vacía la buscas en la hoja2, mientras que la introducción del dato lo haces en la hoja3...

Saludos, Cacho R.

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.