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.

Ayuda con macro, convertir texto a número

publicado

Hola querida comunidad

Tengo un problema, necesito crear una macro para que la información de la columna A sea transformada en formato número en la columna B, he intentado de todo pero no me corre puesto que hay algunas celdas con información mixta, en este caso, cuando la información es mixta solo seria copy y paste directo , es decir, saltar la transformación (crear salto) y seguir con el resto. Este es la macro que he intentado:

         
ult = Cells(Rows.Count, 1).End(xlUp).Row     

For t = 2 To ult
Number = Cells(t, 1) * 1 
Cells(t, 3) = Number
Next

Muchas gracias de antemano

Test5.xlsx

Featured Replies

  • 2 weeks later...
publicado

en un solo paso seria asi, te envio un ejemplo

Sub copia()
Range("b1").Resize(Range("a1").CurrentRegion.Rows.Count, 1).Value = Range("a1").CurrentRegion.Value
End Sub

Test5 (1).xlsm

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.