{"id":3626,"date":"2013-12-03T07:40:36","date_gmt":"2013-12-03T13:40:36","guid":{"rendered":"http:\/\/aplicaexcelcontable.com\/blog\/?p=3626"},"modified":"2024-12-06T21:17:59","modified_gmt":"2024-12-07T03:17:59","slug":"ejemplos-de-macros-en-excel","status":"publish","type":"post","link":"https:\/\/aplicaexcelcontable.com\/blog\/ejemplos-de-macros-en-excel.html","title":{"rendered":"Ejemplos de Macros en Excel"},"content":{"rendered":"<h1 style=\"text-align: center;\">Ejemplos de Macros &#8211; Curso Basico de VBA<\/h1>\n<p style=\"text-align: justify;\">Comencemos con el articulo <strong>Programar en Excel &#8211; Ejemplos de Macros:<\/strong><\/p>\n<p style=\"text-align: justify;\">Ya hemos escrito y grabado una macro, ahora vamos a continuar creando macros. Pero antes , si aun no has visto el tema anterior, por favor <span style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/aplicaexcelcontable.com\/blog\/programar-en-excel-diferencia-entre-macro-escrita-y-grabada.html\" style=\"outline: none;\" target=\"_blank\"><strong>pulsa clic aqu\u00ed<\/strong><\/a><\/span> para ver y leer.&nbsp;<\/p>\n<p style=\"text-align: justify;\">Una vez termines, por favor regresa nuevamente a este articulo para continuar.<\/p>\n<p style=\"text-align: justify;\">Bien, hoy vamos a ver mas ejemplos de macros, vamos a ver como escribir macros y para eso te pido que le eches muchas ganas.<\/p>\n<p style=\"text-align: justify;\">Cada macro, cada tema te llevara a conocer mas sobre VBA. Antes de continuar, si no has visto el tema <a href=\"https:\/\/aplicaexcelcontable.com\/blog\/como-crear-una-macro-en-excel.html\" target=\"_blank\" style=\"outline: none;\"><strong>Como crear una Macro<\/strong><\/a>, te pido que veas el tema <a href=\"https:\/\/aplicaexcelcontable.com\/blog\/como-crear-una-macro-en-excel.html\" target=\"_blank\" style=\"outline: none;\">desde aqu\u00ed<\/a>, lo leas y contin\u00faes con este tema:<\/p>\n<h2 style=\"text-align: center;\">Escribiendo Ejemplos de Macros<\/h2>\n<p><span><img decoding=\"async\" alt=\"Ejemplos de macros\" data-id=\"59905\" width=\"384\" data-init-width=\"628\" height=\"244\" data-init-height=\"399\" title=\"Ejemplos de Macros en excel\" loading=\"lazy\" src=\"https:\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2013\/12\/Ejemplos-de-Macros-en-excel.png\" data-width=\"384\" data-height=\"244\" style=\"aspect-ratio: auto 628 \/ 399;\"><\/span><\/p>\n<p style=\"text-align: justify;\">Vamos a escribir tres Macros y a continuaci\u00f3n te detallo las Macros que escribir\u00e1s y los pasos para poder escribirlo:<\/p>\n<h3 style=\"text-align: center;\">Escribiendo Ejemplos de Macros 1<\/h3>\n<p style=\"text-align: justify;\">Y de la siguiente manera escribamos manualmente una nueva Macro:<\/p>\n<ul>\n<li><span>Crea un nuevo Libro Excel y gu\u00e1rdalo con el nombre Libro1. Luego accede al Editor de Visual Basic con las teclas Alt + F11.<\/span><\/li>\n<li><span>Inserta un nuevo Modulo desde el Men\u00fa \u00abInsertar\u00bb &gt; Modulo, dentro del Modulo escribe textualmente el siguiente c\u00f3digo:<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">&#8216; Esta macro muestra un texto en una ventana emergente<\/p>\n<p style=\"text-align: justify;\">Sub MostrarTexto ()<\/p>\n<p style=\"text-align: justify;\">Msgbox \u00abCurso VBA Online\u00bb<\/p>\n<p style=\"text-align: justify;\">End Sub<\/p>\n<ul>\n<li><span>Puedes ejecutar esta Macro r\u00e1pidamente posicionandote en cualquiera de sus l\u00edneas de c\u00f3digo y luego presionando la tecla F5 para ver lo que sucede.<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Tambi\u00e9n puedes ejecutarla volviendo a Excel con Alt + F11 y desde la pesta\u00f1a \u00abDesarrollador\u00bb secci\u00f3n \u00abC\u00f3digos\u00bb &gt; Macro, eligiendo de la lista la Macro \u00abMostrar Texto\u00bb y luego pulsamos clic en \u00abAceptar\u00bb.<\/p>\n<ul>\n<li><span>Esta Macro utiliza la instrucci\u00f3n Msgbox que sirve para abrir una ventana con la informaci\u00f3n que le indiquemos, m\u00e1s adelante ver\u00e1s como puedes mostrar en esa ventana informaci\u00f3n de Celdas Excel u otros resultados, de momento solo hacemos que muestre el texto que indicamos entre comillas.<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Recuerda que esto es tan solo un adelanto, en los siguientes temas est\u00e1n las Macros m\u00e1s importantes que podr\u00e1s necesitar, escritas, comentadas y listas para que puedas copiar, pegar y adaptar en tus propios desarrollos.<\/p>\n<h3 style=\"text-align: center;\">Escribiendo Ejemplos de Macros 2<\/h3>\n<p style=\"text-align: justify;\">Bien, ahora escribamos manualmente otra nueva Macro, a continuaci\u00f3n los pasos a seguir:<\/p>\n<ul>\n<li><span>Puedes utilizar el mismo Libro1 de la Macro anterior. Luego accede al Editor de Visual Basic con las teclas Alt + F11.<\/span><\/li>\n<li><span>Puedes utilizar el mismo M\u00f3dulo de la Macro anterior. Y dentro del M\u00f3dulo escribe textualmente el siguiente c\u00f3digo:<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">&#8216; Esta macro oculta las l\u00edneas de divisi\u00f3n de las celdas<\/p>\n<p style=\"text-align: justify;\">Sub OcultarLineas()<\/p>\n<p style=\"text-align: justify;\">ActiveWindow.DisplayGridlines = False<\/p>\n<p style=\"text-align: justify;\">End Sub<\/p>\n<ul>\n<li><span>Puedes ejecutar esta Macro r\u00e1pidamente posicion\u00e1ndote en cualquiera de sus l\u00edneas de c\u00f3digo y luego presionando la tecla F5 para ver lo que sucede.<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Tambi\u00e9n puedes ejecutarla volviendo a Excel con Alt + F11 y desde la pesta\u00f1a \u00abDesarrollador\u00bb secci\u00f3n \u00abC\u00f3digos\u00bb &gt; Macro, eligiendo de la lista la Macro \u00abOcultar Lineas\u00bb y luego pulsamos clic en \u00abAceptar\u00bb.<\/p>\n<ul>\n<li><span>Ver\u00e1s que la Macro elimina las l\u00edneas de divisi\u00f3n de las celdas de la Hoja activa (Algo que tambi\u00e9n puedes hacer desde Excel, la pesta\u00f1a \u00abVista\u00bb secci\u00f3n \u00abMostrar\u00bb y seleccionas la opci\u00f3n \u00abLineas de cuadricula\u00bb.<\/span><\/li>\n<\/ul>\n<h5 style=\"text-align: center;\">Ejemplo de macros en la Imagen<\/h5>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Ejemplos de Macros\" width=\"626\" height=\"276\" title=\"Lineas de cuadricula1\" data-id=\"34701\" src=\"\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2018\/03\/Ejemplos-de-Macros-Lineas-de-cuadricula.png\" data-width=\"626\" data-height=\"276\" data-init-width=\"626\" data-init-height=\"276\" style=\"aspect-ratio: auto 626 \/ 276;\"><\/span><\/p>\n<p style=\"text-align: justify;\">Esta Macro utiliza el objeto ActiveWindow (Ventana activa), luego le asigna la propiedad DisplayGridlines=False (Mostrar l\u00edneas de divisi\u00f3n=falso).<\/p>\n<p style=\"text-align: justify;\">Si quisieras volver a ver las l\u00edneas de divisi\u00f3n puedes cambiar la propiedad \u00abFalse\u00bb por \u00abTrue\u00bb, tal que:&nbsp;<strong>ActiveWindow.DisplayGridlines = True<\/strong>.<\/p>\n<p style=\"text-align: justify;\">Adem\u00e1s, recuerda que esto es tan solo un adelanto, en los temas siguientes est\u00e1n las Macros m\u00e1s importantes que podr\u00e1s necesitar, escritas, comentadas y listas para que puedas copiar, pegar y adaptar en tus propios desarrollos.<\/p>\n<p style=\"text-align: justify;\">Hasta aqu\u00ed con este tema, en el pr\u00f3ximo tema continuaremos escribiendo la Macro numero 3.<\/p>\n<p style=\"text-align: justify;\">Me gustar\u00eda saber que piensas de este articulo \u00abProgramar en Excel &#8211; Ejemplos de Macros\u00bb.<\/p>\n<p style=\"text-align: justify;\">Por lo tanto:<\/p>\n<p style=\"text-align: justify;\">D\u00e9jame tu comentario con dudas, cr\u00edticas constructivas y sugerencia en la secci\u00f3n de comentarios o bien en el Chat. Al mismo tiempo te invito a que visites nuestra pagina de Facebook, <span style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/www.facebook.com\/AplicaExceContable\/\" target=\"_blank\" style=\"outline: none;\" rel=\"noopener\"><strong>pulsando clic aqu\u00ed<\/strong><\/a>.<\/span><\/p>\n<p style=\"\">Cualquier duda o pregunta, puedes escribirme directamente en la<span style=\"--tcb-text-highlight-color: rgb(237, 243, 13) !important;\">&nbsp;<\/span><a href=\"#comentario\" style=\"outline: none;\"><span style=\"--tcb-text-highlight-color: rgb(237, 243, 13) !important;\">secci\u00f3n de comentarios<\/span><\/a>, en la <a href=\"https:\/\/aplicaexcelcontable.com\/blog\/contacto\" target=\"_blank\" style=\"outline: none;\"><span style=\"--tcb-text-highlight-color: rgb(231, 100, 224) !important;\" data-text-highlight=\"bubble\">pagina del chat<\/span><\/a>, directamente en <span style=\"--tcb-text-highlight-color: rgb(30, 184, 76) !important;\">whatsapp<\/span> o bien al correo electr\u00f3nico rogerperez@aplicaexcelcontable.com.<span style=\"--tcb-text-highlight-color: transparent !important;\"><\/span><\/p>\n<p style=\"\">Te saluda,<span style=\"--tcb-text-highlight-color: transparent !important;\"><\/span><\/p>\n<p style=\"\"><strong>Roger Perez \u2013 Aplica Excel Contable<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ejemplos de Macros &#8211; Curso Basico de VBA Comencemos con el articulo Programar en Excel &#8211; Ejemplos de Macros: Ya hemos escrito y grabado una macro, ahora vamos a continuar creando macros. Pero antes , si aun no has visto el tema anterior, por favor pulsa clic aqu\u00ed para ver y leer.&nbsp; Una vez termines, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":59905,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","tve_updated_post":"<div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h1\"><h1 data-css=\"tve-u-161e7733433\" style=\"text-align: center;\" class=\"\">Ejemplos de Macros - Curso Basico de VBA<\/h1><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e7742393\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e7742394\" style=\"text-align: justify;\">Comencemos con el articulo <strong>Programar en Excel - Ejemplos de Macros:<\/strong><\/p><p data-css=\"tve-u-161e7742394\" style=\"text-align: justify;\">Ya hemos escrito y grabado una macro, ahora vamos a continuar creando macros. Pero antes , si aun no has visto el tema anterior, por favor <span data-css=\"tve-u-161e77fe70a\" style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/aplicaexcelcontable.com\/blog\/programar-en-excel-diferencia-entre-macro-escrita-y-grabada.html\" class=\"\" style=\"outline: none;\" target=\"_blank\"><strong>pulsa clic aqu\u00ed<\/strong><\/a><\/span> para ver y leer.&nbsp;<\/p><p data-css=\"tve-u-161e7742394\" style=\"text-align: justify;\">Una vez termines, por favor regresa nuevamente a este articulo para continuar.<\/p><p data-css=\"tve-u-161e7742394\" style=\"text-align: justify;\">Bien, hoy vamos a ver mas ejemplos de macros, vamos a ver como escribir macros y para eso te pido que le eches muchas ganas.<\/p><p data-css=\"tve-u-161e7742394\" style=\"text-align: justify;\">Cada macro, cada tema te llevara a conocer mas sobre VBA. Antes de continuar, si no has visto el tema <a href=\"https:\/\/aplicaexcelcontable.com\/blog\/como-crear-una-macro-en-excel.html\" target=\"_blank\" class=\"\" style=\"outline: none;\"><strong>Como crear una Macro<\/strong><\/a>, te pido que veas el tema <a href=\"https:\/\/aplicaexcelcontable.com\/blog\/como-crear-una-macro-en-excel.html\" target=\"_blank\" class=\"\" style=\"outline: none;\">desde aqu\u00ed<\/a>, lo leas y contin\u00faes con este tema:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h2\"><h2 data-css=\"tve-u-161e799d496\" style=\"text-align: center;\" class=\"\">Escribiendo Ejemplos de Macros<\/h2><\/div><div class=\"thrv_wrapper tve_image_caption\" data-css=\"tve-u-1939f1dda12\" style=\"\"><span class=\"tve_image_frame\"><img class=\"tve_image wp-image-59905\" alt=\"Ejemplos de macros\" data-id=\"59905\" width=\"384\" data-init-width=\"628\" height=\"244\" data-init-height=\"399\" title=\"Ejemplos de Macros en excel\" loading=\"lazy\" src=\"https:\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2013\/12\/Ejemplos-de-Macros-en-excel.png\" data-width=\"384\" data-height=\"244\" data-css=\"tve-u-1939f1e17c1\" style=\"aspect-ratio: auto 628 \/ 399;\"><\/span><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e79b0e44\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e79b0e46\" style=\"text-align: justify;\">Vamos a escribir tres Macros y a continuaci\u00f3n te detallo las Macros que escribir\u00e1s y los pasos para poder escribirlo:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h3\"><h3 style=\"text-align: center;\" data-css=\"tve-u-1693284ee02\" class=\"\">Escribiendo Ejemplos de Macros 1<\/h3><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e7a40aec\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e7a40aed\" style=\"text-align: justify;\">Y de la siguiente manera escribamos manualmente una nueva Macro:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-161e7a5a2e1\"><ul class=\"tcb-styled-list\"><li class=\"thrv-styled-list-item\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-icon-inherit-style\" data-css=\"tve-u-161e7a58ef7\"><svg class=\"tcb-icon\" viewBox=\"0 0 32 32\" data-name=\"checkcheck\">\n\n<path d=\"M29.333 10.267c0 0.4-0.133 0.8-0.533 1.2l-14.8 14.8c-0.267 0.267-0.667 0.4-1.067 0.4s-0.933-0.133-1.2-0.533l-2.4-2.267-6.267-6.267c-0.267-0.267-0.4-0.667-0.4-1.2s0.133-0.8 0.533-1.2l2.4-2.4c0.267-0.133 0.667-0.4 1.067-0.4s0.8 0.133 1.2 0.533l5.067 5.067 11.2-11.333c0.267-0.267 0.667-0.533 1.2-0.533 0.4 0 0.8 0.133 1.2 0.533l2.4 2.4c0.267 0.267 0.4 0.667 0.4 1.2z\"><\/path>\n<\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete\" data-css=\"tve-u-1693285e5cf\"><div style=\"text-align: justify;\">Crea un nuevo Libro Excel y gu\u00e1rdalo con el nombre Libro1. Luego accede al Editor de Visual Basic con las teclas Alt + F11.<\/div><\/span><\/li><li class=\"thrv-styled-list-item\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-icon-inherit-style\" data-css=\"tve-u-161e7a58efc\"><svg class=\"tcb-icon\" viewBox=\"0 0 32 32\" data-name=\"checkcheck\">\n\n<path d=\"M29.333 10.267c0 0.4-0.133 0.8-0.533 1.2l-14.8 14.8c-0.267 0.267-0.667 0.4-1.067 0.4s-0.933-0.133-1.2-0.533l-2.4-2.267-6.267-6.267c-0.267-0.267-0.4-0.667-0.4-1.2s0.133-0.8 0.533-1.2l2.4-2.4c0.267-0.133 0.667-0.4 1.067-0.4s0.8 0.133 1.2 0.533l5.067 5.067 11.2-11.333c0.267-0.267 0.667-0.533 1.2-0.533 0.4 0 0.8 0.133 1.2 0.533l2.4 2.4c0.267 0.267 0.4 0.667 0.4 1.2z\"><\/path>\n<\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete\" data-css=\"tve-u-1693285e5cf\"><div style=\"text-align: justify;\">Inserta un nuevo Modulo desde el Men\u00fa \"Insertar\" &gt; Modulo, dentro del Modulo escribe textualmente el siguiente c\u00f3digo:<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e7bba27a\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e7bba27b\" style=\"text-align: justify;\">' Esta macro muestra un texto en una ventana emergente<\/p><p data-css=\"tve-u-161e7bba27b\" style=\"text-align: justify;\">Sub MostrarTexto ()<\/p><p data-css=\"tve-u-161e7bba27b\" style=\"text-align: justify;\">Msgbox \"Curso VBA Online\"<\/p><p data-css=\"tve-u-161e7bba27b\" style=\"text-align: justify;\">End Sub<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-161e7bd140c\"><ul class=\"tcb-styled-list\"><li class=\"thrv-styled-list-item\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-icon-inherit-style\" data-css=\"tve-u-161e7bd012d\"><svg class=\"tcb-icon\" viewBox=\"0 0 32 32\" data-name=\"checkcheck\">\n\n<path d=\"M29.333 10.267c0 0.4-0.133 0.8-0.533 1.2l-14.8 14.8c-0.267 0.267-0.667 0.4-1.067 0.4s-0.933-0.133-1.2-0.533l-2.4-2.267-6.267-6.267c-0.267-0.267-0.4-0.667-0.4-1.2s0.133-0.8 0.533-1.2l2.4-2.4c0.267-0.133 0.667-0.4 1.067-0.4s0.8 0.133 1.2 0.533l5.067 5.067 11.2-11.333c0.267-0.267 0.667-0.533 1.2-0.533 0.4 0 0.8 0.133 1.2 0.533l2.4 2.4c0.267 0.267 0.4 0.667 0.4 1.2z\"><\/path>\n<\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete\" data-css=\"tve-u-16932905017\"><div style=\"text-align: justify;\">Puedes ejecutar esta Macro r\u00e1pidamente posicionandote en cualquiera de sus l\u00edneas de c\u00f3digo y luego presionando la tecla F5 para ver lo que sucede.<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e7c00066\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e7c00069\" style=\"text-align: justify;\">Tambi\u00e9n puedes ejecutarla volviendo a Excel con Alt + F11 y desde la pesta\u00f1a \"Desarrollador\" secci\u00f3n \"C\u00f3digos\" &gt; Macro, eligiendo de la lista la Macro \"Mostrar Texto\" y luego pulsamos clic en \"Aceptar\".<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-css=\"tve-u-161e7c13bfc\"><ul class=\"tcb-styled-list\"><li class=\"thrv-styled-list-item\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-icon-inherit-style\" data-css=\"tve-u-161e7c128b4\"><svg class=\"tcb-icon\" viewBox=\"0 0 32 32\" data-name=\"checkcheck\">\n\n<path d=\"M29.333 10.267c0 0.4-0.133 0.8-0.533 1.2l-14.8 14.8c-0.267 0.267-0.667 0.4-1.067 0.4s-0.933-0.133-1.2-0.533l-2.4-2.267-6.267-6.267c-0.267-0.267-0.4-0.667-0.4-1.2s0.133-0.8 0.533-1.2l2.4-2.4c0.267-0.133 0.667-0.4 1.067-0.4s0.8 0.133 1.2 0.533l5.067 5.067 11.2-11.333c0.267-0.267 0.667-0.533 1.2-0.533 0.4 0 0.8 0.133 1.2 0.533l2.4 2.4c0.267 0.267 0.4 0.667 0.4 1.2z\"><\/path>\n<\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete\" data-css=\"tve-u-1693296126c\"><div style=\"text-align: justify;\">Esta Macro utiliza la instrucci\u00f3n Msgbox que sirve para abrir una ventana con la informaci\u00f3n que le indiquemos, m\u00e1s adelante ver\u00e1s como puedes mostrar en esa ventana informaci\u00f3n de Celdas Excel u otros resultados, de momento solo hacemos que muestre el texto que indicamos entre comillas.<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e7c2e9b0\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e7c2e9b2\" style=\"text-align: justify;\">Recuerda que esto es tan solo un adelanto, en los siguientes temas est\u00e1n las Macros m\u00e1s importantes que podr\u00e1s necesitar, escritas, comentadas y listas para que puedas copiar, pegar y adaptar en tus propios desarrollos.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h4\"><h3 class=\"\" style=\"text-align: center;\" data-css=\"tve-u-1939f1ce7a7\">Escribiendo Ejemplos de Macros 2<\/h3><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e7d29efc\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e7d29efd\" style=\"text-align: justify;\">Bien, ahora escribamos manualmente otra nueva Macro, a continuaci\u00f3n los pasos a seguir:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-161e7d3e94e\"><ul class=\"tcb-styled-list\"><li class=\"thrv-styled-list-item\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-icon-inherit-style\" data-css=\"tve-u-161e7d3d5f8\"><svg class=\"tcb-icon\" viewBox=\"0 0 32 32\" data-name=\"checkcheck\">\n\n<path d=\"M29.333 10.267c0 0.4-0.133 0.8-0.533 1.2l-14.8 14.8c-0.267 0.267-0.667 0.4-1.067 0.4s-0.933-0.133-1.2-0.533l-2.4-2.267-6.267-6.267c-0.267-0.267-0.4-0.667-0.4-1.2s0.133-0.8 0.533-1.2l2.4-2.4c0.267-0.133 0.667-0.4 1.067-0.4s0.8 0.133 1.2 0.533l5.067 5.067 11.2-11.333c0.267-0.267 0.667-0.533 1.2-0.533 0.4 0 0.8 0.133 1.2 0.533l2.4 2.4c0.267 0.267 0.4 0.667 0.4 1.2z\"><\/path>\n<\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete\" data-css=\"tve-u-16932a23d5d\"><div style=\"text-align: justify;\">Puedes utilizar el mismo Libro1 de la Macro anterior. Luego accede al Editor de Visual Basic con las teclas Alt + F11.<\/div><\/span><\/li><li class=\"thrv-styled-list-item\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-icon-inherit-style\" data-css=\"tve-u-161e7d4a715\"><svg class=\"tcb-icon\" viewBox=\"0 0 32 32\" data-name=\"checkcheck\">\n\n<path d=\"M29.333 10.267c0 0.4-0.133 0.8-0.533 1.2l-14.8 14.8c-0.267 0.267-0.667 0.4-1.067 0.4s-0.933-0.133-1.2-0.533l-2.4-2.267-6.267-6.267c-0.267-0.267-0.4-0.667-0.4-1.2s0.133-0.8 0.533-1.2l2.4-2.4c0.267-0.133 0.667-0.4 1.067-0.4s0.8 0.133 1.2 0.533l5.067 5.067 11.2-11.333c0.267-0.267 0.667-0.533 1.2-0.533 0.4 0 0.8 0.133 1.2 0.533l2.4 2.4c0.267 0.267 0.4 0.667 0.4 1.2z\"><\/path>\n<\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete\" data-css=\"tve-u-16932a23d5d\"><div style=\"text-align: justify;\">Puedes utilizar el mismo M\u00f3dulo de la Macro anterior. Y dentro del M\u00f3dulo escribe textualmente el siguiente c\u00f3digo:<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e7d5656f\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e7d56571\" style=\"text-align: justify;\">' Esta macro oculta las l\u00edneas de divisi\u00f3n de las celdas<\/p><p data-css=\"tve-u-161e7d56571\" style=\"text-align: justify;\">Sub OcultarLineas()<\/p><p data-css=\"tve-u-161e7d56571\" style=\"text-align: justify;\">ActiveWindow.DisplayGridlines = False<\/p><p data-css=\"tve-u-161e7d56571\" style=\"text-align: justify;\">End Sub<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-161e7d6fe03\"><ul class=\"tcb-styled-list\"><li class=\"thrv-styled-list-item\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-icon-inherit-style\" data-css=\"tve-u-161e7d6e7f2\"><svg class=\"tcb-icon\" viewBox=\"0 0 32 32\" data-name=\"checkcheck\">\n\n<path d=\"M29.333 10.267c0 0.4-0.133 0.8-0.533 1.2l-14.8 14.8c-0.267 0.267-0.667 0.4-1.067 0.4s-0.933-0.133-1.2-0.533l-2.4-2.267-6.267-6.267c-0.267-0.267-0.4-0.667-0.4-1.2s0.133-0.8 0.533-1.2l2.4-2.4c0.267-0.133 0.667-0.4 1.067-0.4s0.8 0.133 1.2 0.533l5.067 5.067 11.2-11.333c0.267-0.267 0.667-0.533 1.2-0.533 0.4 0 0.8 0.133 1.2 0.533l2.4 2.4c0.267 0.267 0.4 0.667 0.4 1.2z\"><\/path>\n<\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete\" data-css=\"tve-u-16932aa90a3\"><div style=\"text-align: justify;\">Puedes ejecutar esta Macro r\u00e1pidamente posicion\u00e1ndote en cualquiera de sus l\u00edneas de c\u00f3digo y luego presionando la tecla F5 para ver lo que sucede.<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e7d86629\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e7d8662b\" style=\"text-align: justify;\">Tambi\u00e9n puedes ejecutarla volviendo a Excel con Alt + F11 y desde la pesta\u00f1a \"Desarrollador\" secci\u00f3n \"C\u00f3digos\" &gt; Macro, eligiendo de la lista la Macro \"Ocultar Lineas\" y luego pulsamos clic en \"Aceptar\".<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-161e7da5f81\"><ul class=\"tcb-styled-list\"><li class=\"thrv-styled-list-item\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-icon-inherit-style\" data-css=\"tve-u-161e7da48bf\"><svg class=\"tcb-icon\" viewBox=\"0 0 32 32\" data-name=\"checkcheck\">\n\n<path d=\"M29.333 10.267c0 0.4-0.133 0.8-0.533 1.2l-14.8 14.8c-0.267 0.267-0.667 0.4-1.067 0.4s-0.933-0.133-1.2-0.533l-2.4-2.267-6.267-6.267c-0.267-0.267-0.4-0.667-0.4-1.2s0.133-0.8 0.533-1.2l2.4-2.4c0.267-0.133 0.667-0.4 1.067-0.4s0.8 0.133 1.2 0.533l5.067 5.067 11.2-11.333c0.267-0.267 0.667-0.533 1.2-0.533 0.4 0 0.8 0.133 1.2 0.533l2.4 2.4c0.267 0.267 0.4 0.667 0.4 1.2z\"><\/path>\n<\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete\" data-css=\"tve-u-16932afc862\"><div style=\"text-align: justify;\">Ver\u00e1s que la Macro elimina las l\u00edneas de divisi\u00f3n de las celdas de la Hoja activa (Algo que tambi\u00e9n puedes hacer desde Excel, la pesta\u00f1a \"Vista\" secci\u00f3n \"Mostrar\" y seleccionas la opci\u00f3n \"Lineas de cuadricula\".<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h5\"><h5 style=\"text-align: center;\" data-css=\"tve-u-16932b6580e\" class=\"\">Ejemplo de macros en la Imagen<\/h5><\/div><div class=\"thrv_wrapper tve_image_caption\" data-css=\"tve-u-161e8306098\"><span class=\"tve_image_frame\"><img loading=\"lazy\" decoding=\"async\" class=\"tve_image wp-image-34701\" alt=\"Ejemplos de Macros\" width=\"626\" height=\"276\" title=\"Lineas de cuadricula1\" data-id=\"34701\" src=\"\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2018\/03\/Ejemplos-de-Macros-Lineas-de-cuadricula.png\" data-width=\"626\" data-height=\"276\" data-init-width=\"626\" data-init-height=\"276\" style=\"aspect-ratio: auto 626 \/ 276;\"><\/span><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e832545b\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e832545c\" style=\"text-align: justify;\">Esta Macro utiliza el objeto ActiveWindow (Ventana activa), luego le asigna la propiedad DisplayGridlines=False (Mostrar l\u00edneas de divisi\u00f3n=falso).<\/p><p data-css=\"tve-u-161e832545c\" style=\"text-align: justify;\">Si quisieras volver a ver las l\u00edneas de divisi\u00f3n puedes cambiar la propiedad \"False\" por \"True\", tal que:&nbsp;<strong>ActiveWindow.DisplayGridlines = True<\/strong>.<\/p><p data-css=\"tve-u-161e832545c\" style=\"text-align: justify;\">Adem\u00e1s, recuerda que esto es tan solo un adelanto, en los temas siguientes est\u00e1n las Macros m\u00e1s importantes que podr\u00e1s necesitar, escritas, comentadas y listas para que puedas copiar, pegar y adaptar en tus propios desarrollos.<\/p><p data-css=\"tve-u-161e832545c\" style=\"text-align: justify;\">Hasta aqu\u00ed con este tema, en el pr\u00f3ximo tema continuaremos escribiendo la Macro numero 3.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-button tve_ea_thrive_animation tve_anim_appear\" data-css=\"tve-u-16932c10e76\" data-button-style=\"tcb-saved-button-template-28\" style=\"\" id=\"tema2\" data-tcb_hover_state_parent=\"\">\n<a href=\"http:\/\/aplicaexcelcontable.com\/blog\/programar-en-excel-ejemplos-de-macros-2.html\" class=\"tcb-button-link tve_evt_manager_listen tve_et_tve-viewport tve-viewport-triggered\" data-tcb-events=\"__TCB_EVENT_[{&quot;t&quot;:&quot;tve-viewport&quot;,&quot;config&quot;:{&quot;anim&quot;:&quot;appear&quot;,&quot;loop&quot;:1},&quot;a&quot;:&quot;thrive_animation&quot;}]_TNEVE_BCT__\" target=\"_blank\">\n<span class=\"tcb-button-texts\"><span class=\"tcb-button-text thrv-inline-text\" data-css=\"tve-u-16932c10e7b\"><strong>Pulsa clic aqu\u00ed P\/Ver el siguiente Tema<\/strong><\/span><\/span>\n<\/a>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-161e836c6fb\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161e836c6fd\" style=\"text-align: justify;\">Me gustar\u00eda saber que piensas de este articulo \"Programar en Excel - Ejemplos de Macros\".<\/p><p data-css=\"tve-u-161e836c6fd\" style=\"text-align: justify;\">Por lo tanto:<\/p><p data-css=\"tve-u-161e836c6fd\" style=\"text-align: justify;\">D\u00e9jame tu comentario con dudas, cr\u00edticas constructivas y sugerencia en la secci\u00f3n de comentarios o bien en el Chat. Al mismo tiempo te invito a que visites nuestra pagina de Facebook, <span data-css=\"tve-u-161e83877d2\" style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/www.facebook.com\/AplicaExceContable\/\" target=\"_blank\" class=\"\" style=\"outline: none;\"><strong>pulsando clic aqu\u00ed<\/strong><\/a>.<\/span><\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\" data-css=\"tve-u-1939f1d92a7\" style=\"\">\n\t<div class=\"tve-content-box-background\"><\/div>\n\t<div class=\"tve-cb\" style=\"\" data-css=\"tve-u-1939f1d92a5\"><div class=\"thrv_wrapper thrv_text_element tcb-highlight-added\">\t<p style=\"\">Cualquier duda o pregunta, puedes escribirme directamente en la<span style=\"--tcb-text-highlight-color: rgb(237, 243, 13) !important;\" data-css=\"tve-u-1939f1d92a8\">&nbsp;<\/span><a href=\"#comentario\" class=\"tve-jump-scroll\" style=\"outline: none;\"><span style=\"--tcb-text-highlight-color: rgb(237, 243, 13) !important;\" data-css=\"tve-u-1939f1d92a9\">secci\u00f3n de comentarios<\/span><\/a>, en la <a href=\"https:\/\/aplicaexcelcontable.com\/blog\/contacto\" target=\"_blank\" class=\"\" style=\"outline: none;\"><span style=\"--tcb-text-highlight-color: rgb(231, 100, 224) !important;\" data-css=\"tve-u-1939f1d92aa\" data-text-highlight=\"bubble\">pagina del chat<\/span><\/a>, directamente en <span style=\"--tcb-text-highlight-color: rgb(30, 184, 76) !important;\" data-css=\"tve-u-1939f1d92ac\">whatsapp<\/span> o bien al correo electr\u00f3nico rogerperez@aplicaexcelcontable.com.<span style=\"--tcb-text-highlight-color: transparent !important;\" data-css=\"tve-u-1939f1d92ad\"><\/span><\/p><p style=\"\">Te saluda,<span style=\"--tcb-text-highlight-color: transparent !important;\"><\/span><\/p><p style=\"\"><strong>Roger Perez \u2013 Aplica Excel Contable<\/strong><\/p><\/div><\/div>\n<\/div>","tve_custom_css":"@media (min-width: 300px){[data-css=\"tve-u-161e83877d2\"] { color: rgb(0, 23, 255) !important; }[data-css=\"tve-u-161e8306098\"] + div { clear: none; }[data-css=\"tve-u-161e8306098\"] { float: none; width: 626px; margin-left: auto !important; margin-right: auto !important; }:not(#tve) [data-css=\"tve-u-161e7da5f81\"] p, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] li, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] blockquote, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] address, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] h1, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] h2, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] h3, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] h4, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] h5, :not(#tve) [data-css=\"tve-u-161e7da5f81\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161e7da48bf\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-161e7d6fe03\"] p, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] li, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] blockquote, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] address, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] h1, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] h2, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] h3, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] h4, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] h5, :not(#tve) [data-css=\"tve-u-161e7d6fe03\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161e7d6e7f2\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-161e7d4a715\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-161e7d3e94e\"] p, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] li, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] blockquote, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] address, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] h1, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] h2, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] h3, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] h4, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] h5, :not(#tve) [data-css=\"tve-u-161e7d3e94e\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161e7d3d5f8\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-161e7c13bfc\"] p, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] li, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] blockquote, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] address, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] h1, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] h2, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] h3, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] h4, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] h5, :not(#tve) [data-css=\"tve-u-161e7c13bfc\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161e7c128b4\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-161e7bd140c\"] p, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] li, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] blockquote, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] address, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] h1, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] h2, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] h3, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] h4, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] h5, :not(#tve) [data-css=\"tve-u-161e7bd140c\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161e7bd012d\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] p, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] li, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] blockquote, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] address, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] h1, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] h2, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] h3, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] h4, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] h5, :not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161e7a58efc\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-161e7a58ef7\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-161e799d496\"] { font-size: 38px !important; color: rgb(0, 23, 255) !important; }[data-css=\"tve-u-161e77fe70a\"] { color: rgb(0, 23, 255) !important; }:not(#tve) [data-css=\"tve-u-161e7733433\"] { font-size: 42px !important; color: rgb(255, 0, 0) !important; }[data-css=\"tve-u-161e7742393\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e7742394\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e79b0e44\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e79b0e46\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e7a40aec\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e7a40aed\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e7bba27a\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e7bba27b\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e7c00066\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e7c00069\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e7c2e9b0\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e7c2e9b2\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e7d29efc\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e7d29efd\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e7d5656f\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e7d56571\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e7d86629\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e7d8662b\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e832545b\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e832545c\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161e836c6fb\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161e836c6fd\"] { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-1693284ee02\"] { font-size: 32px !important; color: rgb(0, 23, 255) !important; }:not(#tve) [data-css=\"tve-u-161e7a5a2e1\"] li { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-161e7bd140c\"] li { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-161e7c13bfc\"] li { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-161e7d3e94e\"] li { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-161e7d6fe03\"] li { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-161e7da5f81\"] li { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-16932b6580e\"] { font-size: 25px !important; color: rgb(0, 23, 255) !important; }[data-css=\"tve-u-16932c10e76\"] { display: block; max-width: 382px; width: 382px; }:not(#tve) [data-css=\"tve-u-16932c10e76\"]:hover .tcb-button-link { color: rgb(255, 255, 255) !important; background-color: rgb(3, 255, 51) !important; background-image: none !important; border: 3px solid rgb(3, 255, 51) !important; }[data-css=\"tve-u-16932c10e76\"] .tcb-button-link { border: 3px solid rgb(3, 255, 51); border-radius: 10px; overflow: hidden; min-height: 54.7619px; font-size: 1.33333em; padding-top: 0px; padding-bottom: 0px; background-image: none !important; background-color: rgb(255, 255, 255) !important; }:not(#tve) [data-css=\"tve-u-16932c10e76\"] .tcb-button-link { color: rgb(0, 23, 255) !important; }:not(#tve) [data-css=\"tve-u-16932c10e7b\"] { color: rgb(3, 255, 51) !important; font-size: 19px !important; }:not(#tve) [data-css=\"tve-u-16932c10e76\"]:hover .tcb-button-link span { color: rgb(255, 255, 255) !important; }:not(#tve) [data-css=\"tve-u-16932c10e76\"] .tcb-button-link span { color: rgb(3, 255, 51); }.tcb-post-list[data-css=\"tve-u-186df1bf84d\"] .post-wrapper.thrv_wrapper { width: calc(100% + 0px); }.tcb-post-list[data-css=\"tve-u-186df1bf84d\"] .post-wrapper.thrv_wrapper:nth-child(n+2) { margin-top: 50px !important; }.tcb-post-list[data-css=\"tve-u-186df1bf84d\"] .post-wrapper.thrv_wrapper:not(:nth-child(n+2)) { margin-top: 0px !important; }.tcb-post-list[data-css=\"tve-u-186df1bf84d\"] .post-wrapper.thrv_wrapper:not(:nth-child(n)) { margin-right: 30px !important; }.tcb-post-list[data-css=\"tve-u-186df1bf84d\"] .post-wrapper.thrv_wrapper:nth-child(n) { margin-right: 0px !important; }.tcb-post-list[data-css=\"tve-u-18703fb75db\"] .post-wrapper.thrv_wrapper { width: calc(33.3333% - 13.3333px); }.tcb-post-list[data-css=\"tve-u-18703fb75db\"] .post-wrapper.thrv_wrapper:nth-child(n+4) { margin-top: 20px !important; }.tcb-post-list[data-css=\"tve-u-18703fb75db\"] .post-wrapper.thrv_wrapper:not(:nth-child(n+4)) { margin-top: 0px !important; }.tcb-post-list[data-css=\"tve-u-18703fb75db\"] .post-wrapper.thrv_wrapper:not(:nth-child(3n)) { margin-right: 20px !important; }.tcb-post-list[data-css=\"tve-u-18703fb75db\"] .post-wrapper.thrv_wrapper:nth-child(3n) { margin-right: 0px !important; }:not(#tve) [data-css=\"tve-u-1939f1ce7a7\"] { font-size: 32px !important; }:not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] p, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] li, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] blockquote, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] address, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] .tcb-plain-text, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] label { font-size: var(--tve-font-size,20px); }[data-css=\"tve-u-1939f1d92a5\"] { --tve-font-size: 20px; --tve-color: rgb(7,0,0); --tve-applied---tve-color: rgb(7,0,0); text-align: justify; }:not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] p, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] li, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] blockquote, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] address, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] .tcb-plain-text, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] label, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] h1, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] h2, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] h3, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] h4, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] h5, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939f1d92a5\"] h6 { color: var(--tve-color,rgb(7,0,0)); --tve-applied-color: var$(--tve-color,rgb(7,0,0)); --tcb-applied-color: rgb(7,0,0); }[data-css=\"tve-u-1939f1d92a5\"] p { padding: 0px 0px 11px !important; margin: 0px !important; }[data-css=\"tve-u-1939f1d92a7\"] { margin-top: 20px !important; margin-bottom: 20px !important; padding: 0px !important; }[data-css=\"tve-u-1939f1d92a8\"] { --tcb-text-highlight-color: rgb(237, 243, 13) !important; }[data-css=\"tve-u-1939f1d92a9\"] { --tcb-text-highlight-color: rgb(237, 243, 13) !important; }[data-css=\"tve-u-1939f1d92aa\"] { --tve-highlight-background: url(\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20314%20114%22%20preserveAspectRatio%3D'none'%3E%0A%09%09%09%09%09%3Cpath%20d%3D%22M149.412%202.398C98.053%204.579%2074.996%207.562%2053.903%2014.754%2028.892%2023.283%208.503%2040.617%202.929%2058.09c-4.148%2013.004-.464%2026.402%2010.207%2037.118%205.664%205.687%2015.228%2012.328%2021.753%2015.104%202.939%201.25%208.598%202.708%2010.559%202.72%201.16.008%201.111-.129-.909-2.543-2.554-3.05-4.753-7.567-4.761-9.775-.008-2.502%202.482-6.937%204.862-8.661%205.613-4.066%2020.333-6.115%2050.607-7.046%2012.81-.394%2019.622.068%2047.623%203.231%2057%206.439%2066.925%207.222%2091.845%207.248%2016.516.016%2020.951-.139%2026.167-.919%2020.12-3.007%2032.633-8.401%2041.489-17.883%206.859-7.344%2010.154-16.516%2010.254-28.537.032-3.902-.231-7.704-.651-9.42-5.257-21.464-31.961-33.668-80.137-36.622-11.85-.727-62.651-.546-82.425.293%22%2F%3E%0A%09%09%09%09%3C%2Fsvg%3E\"); --tcb-text-highlight-color: #2ABB61 !important; }[data-css=\"tve-u-1939f1d92ac\"] { --tcb-text-highlight-color: rgb(30, 184, 76) !important; }[data-css=\"tve-u-1939f1d92ad\"] { --tcb-text-highlight-color: transparent !important; }[data-css=\"tve-u-1939f1dda12\"] { width: 384px; --tve-alignment: center; margin-left: auto !important; margin-right: auto !important; float: none; margin-top: 0px !important; --tve-border-radius: 60px; border-radius: 60px; overflow: hidden; }}@media (max-width: 1023px){:not(#tve) [data-css=\"tve-u-161e7733433\"] { font-size: 25px !important; }:not(#tve) [data-css=\"tve-u-161e799d496\"] { font-size: 22px !important; }:not(#tve) [data-css=\"tve-u-1693284ee02\"] { font-size: 22px !important; }:not(#tve) [data-css=\"tve-u-16932b6580e\"] { font-size: 22px !important; }}@media (max-width: 767px){:not(#tve) [data-css=\"tve-u-161e799d496\"] { font-size: 20px !important; }:not(#tve) [data-css=\"tve-u-161e7733433\"] { font-size: 23px !important; }:not(#tve) [data-css=\"tve-u-16932c10e76\"] .tcb-button-link { font-size: 20px; }[data-css=\"tve-u-16932c10e76\"] { display: block; max-width: 292px; width: 292px; }:not(#tve) [data-css=\"tve-u-16932c10e7b\"] { font-size: 14px !important; }:not(#tve) [data-css=\"tve-u-1693284ee02\"] { font-size: 20px !important; }:not(#tve) [data-css=\"tve-u-16932b6580e\"] { font-size: 20px !important; }}","tve_user_custom_css":"","tve_globals":{"e":"1","font_cls":[]},"tcb2_ready":1,"tcb_editor_enabled":1,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[4,22],"tags":[293,277,292,27,295,294],"class_list":["post-3626","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programar-en-excel","category-curso-basico-de-vba","tag-aprender-excel","tag-ejemplos-de-macros","tag-excel-y-contabilidad","tag-macros","tag-plantillas-excel","tag-programar-en-excel","post-wrapper","thrv_wrapper"],"_links":{"self":[{"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/posts\/3626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/comments?post=3626"}],"version-history":[{"count":0,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/posts\/3626\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/media\/59905"}],"wp:attachment":[{"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/media?parent=3626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/categories?post=3626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/tags?post=3626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}