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.

¿Cómo seleccionar hojas con checkbox y copiarlas a libro nuevo?

publicado

Macro para copiar hojas con checkbox a un nuevo libro

Hola a todos!!

Ojala me pudieran ayudar con esta macro ya que no se como activar los checkbox, les explico un poco.

En esta macro tengo 11 hojas con diferente nombre cada una y en una hoja coloque 11 checkbox los cuales necesito que al seleccionar esos checkbox y picar un botón detecte cuales fueron palomeados para copiar solamente esas hojas a un nuevo libro. Hasta ahora lo que tengo es esto:

If CheckBox1_Click = True Then Sheets("Hoja1").Select

If CheckBox3_Click = True Then Sheets("Hoja2").Select

If CheckBox4_Click = True Then Sheets("Hoja3").Select.........

If CheckBox5_Click = True Then Sheets("Hoja11").Select

Workbook.Add

ActiveSheet.Paste

Application.CutCopyMode = FalseSheets("Cotización").Select

ActiveWorkbook.SaveAs Filename:=carp _

& "\" & Sheets("Cotización").Range("I3") + [" "] + [i6] & ".xls"

ActiveWorkbook.ExportAsFixedFormat Type:=xlTypePDF, Filename:=carp & "\" & [i3] + [" "] + [i6]

Muchas Gracias!!!

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.