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.

Restar valor de textbox a celda

publicado

Buenas, necesitaria ayuda con el siguiente codigo:

If ComboBox1 = "Ingreso" Or ComboBox3 = "Efectivo" Then

Cells(39, mes).Value = TextBox1.Value + ActiveCell.Offset(35, 0)

End If

If ComboBox1 = "Egreso" Or ComboBox2 = "Efectivo" Then

Cells(39, mes).Value = Cells(39, mes).Value - TextBox1.Value

End If

Esta en un formulario con tres combobox y un textbox. La operatoria que busco es simple, si en determinado combobox hay una palabra, el dato del textbox se suma o se resta al valor de una celda.

El problema me surge cuando en el combobox1 pongo Egreso, ya que no me hace la resta.

Agradezco a quien tenga tiempo e intenciones de ayudarmeee.....

Featured Replies

No hay posts para mostrar

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.