Preguntas esperando respuesta
Actividad pública reciente
Ha preguntado en el tema en
Microsoft Excel
y en 1 temas más
Macro para Exportar ListBox a un Nuevo Excel
Hola buen día, Favor su apoyo. Quisiera exportar los datos de un listbox hacia un nuevo libro Excel. Nota: Al momento de presionar el Botón para exportar tiene que aparecer la ventana de Guardar Como para poder especificar ruta y nombre del Archivo....
Ha valorado "Excelente" la respuesta
Macro para Exportar Listbox a PDF
Te anexo la macro para el botón2 Private Sub CommandButton2_Click() 'Por.Dante Amor Application.ScreenUpdating = False Application.DisplayAlerts = False Set h1 = Sheets.Add c = ListBox1.ColumnCount f = ListBox1.ListCount + 1 h1.Range(h1.Cells(2, 1),...
Ha valorado "Excelente" la respuesta
Exportar listbox a otro excel y a pdf
Te anexo el código para el primer botón. Private Sub CommandButton1_Click() 'Por.Dante Amor Set l1 = Workbooks.Add Set h1 = l1.ActiveSheet c = ListBox1.ColumnCount f = ListBox1.ListCount h1.Range(h1.Cells(1, 1), h1.Cells(f, c)) = ListBox1.List MsgBox...
