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.

Crear varios combox en un rango y mostrar resultado en celda contigua.

publicado

Hola:

Quisiera saber si hay alguna manera rápida de crear a la vez un combox en cada celda del rango C1:C30 y que el resultado me lo ponga en la misma fila pero en la columna B.

Ej: Si escribo en el combox situado en C1, me ponga el resultado en B1; el de C2 en B2, etc.

Saludos.

Combox.rar

Featured Replies

publicado

Hola, coloca este código en un modulo y lo ejecutas en la hoja1.

Sub combo()
Application.ScreenUpdating = False
For Each cel In Range("C2:C30")
With ActiveSheet.OLEObjects.Add(ClassType:="Forms.ComboBox.1", _
Link:=False, DisplayAsIcon:=False, Left:=cel.Left, Top:=cel.Top, Width:=cel.Width, _
Height:=cel.Height)
With .Object

For Each valor In Sheets(2).Range("A1:A8")
.AddItem valor
Next valor
.Font.Size = 11
End With
.LinkedCell = cel.Offset(0, -1).Address(False, False)
End With
Next
Application.ScreenUpdating = True
End Sub[/CODE]

Comentas como te resulto.

Salu2

publicado
  • Autor

¡Fenomenal!

Muchas gracias, Riddle.

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.