EXCEL AVANZADO
Custom UI Editor
Ing. CIP Jorge Luis Cuenca Cabrera
jorge.cuenca@kawsaqi.org
Ejecución de macros mediante
botones
Estructura de un archivo Excel
Custom UI Editor
XML
PERSONALIZAR LA CINTA
DE OPCIONES
Introducción
1. Creamos un nuevo archivo
habilitado para macros
2. Abrir archivo con Custom UI Editor y
agregar Excel – A Custom Tab
3. Abrir archivo en Excel
PERSONALIZAR LA CINTA
DE OPCIONES
Conociendo XML
1. En el Custom UI Editor.
Agregar las siguientes líneas
Propiedad / valor
TabHome
insertBeforeMso=“TabHome” insertAfterMso=“TabHome”
RESUMEN 01
Crear libro habilitado para macros
Instalar Custom UI Editor for Microsoft Office y ejecutar
En Custom UI Editor, abrir el archivo creado
Agregar el customUI14.xml
Agregar las etiquetas contenedoras
customUI
ribbon
tabs
tab
PERSONALIZAR LA CINTA
DE OPCIONES
Agregando botones
Estructura de las pestañas de Excel
Propiedades:
• id
• label
• size
• imageMso
Veamos el resultado
Separador entre botones
Propiedad imageMso
Office2007IconsGallery.xlsm
Office2010IconsGallery.doc
PERSONALIZAR LA CINTA
DE OPCIONES
Agregando funcionalidad a botones
Editar el archivo Personalizado_v03
Ribbon ribbon
PERSONALIZAR LA CINTA
DE OPCIONES
Usar nuestras propias imágenes para los botones
Tamaño de las imágenes