{"id":2853,"date":"2013-11-25T08:34:59","date_gmt":"2013-11-25T14:34:59","guid":{"rendered":"http:\/\/aplicaexcelcontable.com\/blog\/?p=2853"},"modified":"2024-12-17T17:05:05","modified_gmt":"2024-12-17T23:05:05","slug":"codigos-la-macro-grabada-vba","status":"publish","type":"post","link":"https:\/\/aplicaexcelcontable.com\/blog\/codigos-la-macro-grabada-vba.html","title":{"rendered":"C\u00f3digos de la Macro Grabada en VBA"},"content":{"rendered":"<h1 style=\"text-align: center;\">Programar en Excel &#8211; C\u00f3digos de la Macro Grabada en VBA<\/h1>\n<p style=\"text-align: justify;\">Comencemos con el articulo <b>Programar en Excel &#8211; C\u00f3digos&nbsp;de la Macro Grabada en VBA:<\/b><\/p>\n<p style=\"text-align: justify;\">Hoy vamos a dar continuidad al tema anterior si todav\u00eda no has le\u00eddo el tema anterior por favor <span style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/aplicaexcelcontable.com\/blog\/programar-en-excel-como-grabar-una-macro.html\" style=\"outline: none;\" target=\"_blank\"><strong>pulsa clic en aqu\u00ed<\/strong><\/a><\/span>. Una vez termines de leer, por favor vuelve nuevamente a qui para seguir con el tema.<\/p>\n<p style=\"text-align: justify;\">Bien, vamos a conocer que tal nos quedo la Macro Grabada desde Visual Basic para Aplicaciones. Podr\u00e1s ver la diferencia entre la Macro Escrita y la Macro Grabada. Entonces veamos como quedo la Macro Grabada:<\/p>\n<h2 style=\"text-align: center;\">Para comenzar:<\/h2>\n<ul>\n<li><span>Accede al editor de Visual Basic con Alt + F11.<\/span><\/li>\n<li><span>Debes hacer clic en M\u00f3dulo1 para visualizar el c\u00f3digo de la nueva Macro Grabada. Ver\u00e1s una pantalla como la siguiente:<\/span><\/li>\n<\/ul>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Macro Grabada\" width=\"611\" height=\"392\" title=\"Macro Grabada\" data-id=\"34653\" src=\"\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2018\/02\/Macro-Grabada1.png\" data-width=\"611\" data-height=\"392\" data-init-width=\"611\" data-init-height=\"392\" style=\"aspect-ratio: auto 611 \/ 392;\"><\/span><\/p>\n<ul>\n<li><span>Podr\u00e1s observar que el c\u00f3digo que se grab\u00f3 es distinto que el c\u00f3digo que hab\u00edamos escrito cuando hicimos la Macro manualmente, m\u00e1s adelante en este mismo cap\u00edtulo analizaremos y explicaremos las diferencias.<\/span><\/li>\n<li><span>Vamos a probar la Macro pulsando F5, vuelve a Excel con Alt + F11.<\/span><\/li>\n<li><span>Veras que la celda A1 tiene el valor 1500 porque lo escribimos mientras grabamos la Macro. Para ver como opera la Macro borra dicho valor.<\/span><\/li>\n<li><span>Abre el Men\u00fa de Macros desde la pesta\u00f1a \u00abDesarrollador\u00bb secci\u00f3n \u00abC\u00f3digo\u00bb &gt; Macros.<\/span><\/li>\n<li><span>Selecciona \u00abMiPrimerMacro\u00bb (No te confundas con Hoja1, MiPrimeraMacro es la que hicimos primero).<\/span><\/li>\n<li><span>Presiona \u00abAceptar\u00bb y veras como se escribe nuevamente el valor 1500 en la celda A1.<\/span><\/li>\n<\/ul>\n<h3 style=\"text-align: center;\">Para continuar:<\/h3>\n<p style=\"text-align: justify;\">Nuestro objetivo fue grabar una Macro que escribiera el valor 1500 en la celda A1 de la Hoja1 de Excel. Los pasos que seguimos para utilizar la Grabadora de Macros fueron:<\/p>\n<ul>\n<li><span>1<\/span><span>Creamos un nuevo Libro Excel y lo guardamos con el nombre Libro1.<\/span><\/li>\n<li><span>2<\/span><span>Desde la pesta\u00f1a \u00abDesarrollador\u00bb secci\u00f3n \u00abC\u00f3digo\u00bb, seleccionamos la opci\u00f3n \u00abGrabar Macro\u00bb y la Macro comenz\u00f3 a grabar.<\/span><\/li>\n<li><span>3<\/span><span>En la celda A1 del Libro1 escribimos el valor 1500.<\/span><\/li>\n<li><span>4<\/span><span>Detuvimos la grabaci\u00f3n desde la pesata\u00f1a \u00abDesarrollador\u00bb secci\u00f3n \u00abCodigo\u00bb &gt; Detener Grabaci\u00f3n.<\/span><\/li>\n<li><span>5<\/span><span>Borramos la celda A1 (Quedo con el valor 1500 cuando grabamos la Macro).<\/span><\/li>\n<li><span>6<\/span><span>Ejecutamos la Macro desde la pesta\u00f1a \u00abDesarrollador\u00bb secci\u00f3n \u00abC\u00f3digo\u00bb &gt; Macros, seleccionamos de la lista MiPrimeraMacro y luego pulsamos \u00abAceptar\u00bb.<\/span><\/li>\n<li><span>7<\/span><span>El resultado es que en la celda A1 se vuelve a escribir el valor 1500, que fue justamente lo que grabamos con la Macro.<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><strong><span style=\"color: rgb(255, 0, 0);\">RECUERDA:<\/span><\/strong> Al utilizar la grabadora no accedemos en ning\u00fan momento al editor de Macros ni tenemos que escribir c\u00f3digo.<\/p>\n<p style=\"text-align: justify;\">Todo lo hace autom\u00e1ticamente la Grabadora. Esto es todo para este Post, nos vemos en el pr\u00f3ximo articulo:<\/p>\n<p style=\"text-align: justify;\">Me gustar\u00eda saber que piensas de este articulo \u00abProgramar en Excel &#8211; C\u00f3digos de la Macro Grabada en VBA\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>Programar en Excel &#8211; C\u00f3digos de la Macro Grabada en VBA Comencemos con el articulo Programar en Excel &#8211; C\u00f3digos&nbsp;de la Macro Grabada en VBA: Hoy vamos a dar continuidad al tema anterior si todav\u00eda no has le\u00eddo el tema anterior por favor pulsa clic en aqu\u00ed. Una vez termines de leer, por favor vuelve [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2857,"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 style=\"text-align: center;\" data-css=\"tve-u-1691d34c0dd\" class=\"\">Programar en Excel - C\u00f3digos de la Macro Grabada en 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-161df4dd69a\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161df4dd69b\" style=\"text-align: justify;\">Comencemos con el articulo <b>Programar en Excel - C\u00f3digos&nbsp;de la Macro Grabada en VBA:<\/b><\/p><p data-css=\"tve-u-161df4dd69b\" style=\"text-align: justify;\">Hoy vamos a dar continuidad al tema anterior si todav\u00eda no has le\u00eddo el tema anterior por favor <span data-css=\"tve-u-161df4fbb5c\" style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/aplicaexcelcontable.com\/blog\/programar-en-excel-como-grabar-una-macro.html\" class=\"\" style=\"outline: none;\" target=\"_blank\"><strong>pulsa clic en aqu\u00ed<\/strong><\/a><\/span>. Una vez termines de leer, por favor vuelve nuevamente a qui para seguir con el tema.<\/p><p data-css=\"tve-u-161df4dd69b\" style=\"text-align: justify;\">Bien, vamos a conocer que tal nos quedo la Macro Grabada desde Visual Basic para Aplicaciones. Podr\u00e1s ver la diferencia entre la Macro Escrita y la Macro Grabada. Entonces veamos como quedo la Macro Grabada:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h2\"><h2 data-css=\"tve-u-161df54e8c3\" style=\"text-align: center;\" class=\"\">Para comenzar:<\/h2><\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-161df55581c\"><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-161df554591\"><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-1691d90a0d0\"><div style=\"text-align: justify;\">Accede al editor de Visual Basic con 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-161df554596\"><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-1691d90a0d0\"><div style=\"text-align: justify;\">Debes hacer clic en M\u00f3dulo1 para visualizar el c\u00f3digo de la nueva Macro Grabada. Ver\u00e1s una pantalla como la siguiente:<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper tve_image_caption\" data-css=\"tve-u-161df5895e9\"><span class=\"tve_image_frame\"><img loading=\"lazy\" decoding=\"async\" class=\"tve_image wp-image-34653\" alt=\"Macro Grabada\" width=\"611\" height=\"392\" title=\"Macro Grabada\" data-id=\"34653\" src=\"\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2018\/02\/Macro-Grabada1.png\" data-width=\"611\" data-height=\"392\" data-init-width=\"611\" data-init-height=\"392\" style=\"aspect-ratio: auto 611 \/ 392;\"><\/span><\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-161df59b457\"><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-161df599d6c\"><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-1691da74875\"><div style=\"text-align: justify;\">Podr\u00e1s observar que el c\u00f3digo que se grab\u00f3 es distinto que el c\u00f3digo que hab\u00edamos escrito cuando hicimos la Macro manualmente, m\u00e1s adelante en este mismo cap\u00edtulo analizaremos y explicaremos las diferencias.<\/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-161df599d71\"><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-1691da74875\"><div style=\"text-align: justify;\">Vamos a probar la Macro pulsando F5, vuelve a Excel con 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-161df5aad2f\"><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-1691da74875\"><div style=\"text-align: justify;\">Veras que la celda A1 tiene el valor 1500 porque lo escribimos mientras grabamos la Macro. Para ver como opera la Macro borra dicho valor.<\/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-161df5bf4f1\"><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-1691da74875\"><div style=\"text-align: justify;\">Abre el Men\u00fa de Macros desde la pesta\u00f1a \"Desarrollador\" secci\u00f3n \"C\u00f3digo\" &gt; Macros.<\/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-161df5d682e\"><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-1691da74875\"><div style=\"text-align: justify;\">Selecciona \"MiPrimerMacro\" (No te confundas con Hoja1, MiPrimeraMacro es la que hicimos primero).<\/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-161df5e9300\"><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-1691da74875\"><div style=\"text-align: justify;\">Presiona \"Aceptar\" y veras como se escribe nuevamente el valor 1500 en la celda A1.<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h3\"><h3 style=\"text-align: center;\" data-css=\"tve-u-1691db0506e\" class=\"\">Para continuar:<\/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-161df607c0b\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161df607c0d\" style=\"text-align: justify;\">Nuestro objetivo fue grabar una Macro que escribiera el valor 1500 en la celda A1 de la Hoja1 de Excel. Los pasos que seguimos para utilizar la Grabadora de Macros fueron:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-numbered_list\" data-start-number=\"1\" data-number-increment=\"1\" data-css=\"tve-u-161df61a371\" data-color=\"rgb(0, 0, 0)\"><ul class=\"tcb-numbered-list\"><li class=\"thrv-styled-list-item\"><div class=\"tcb-numbered-list-number thrv-disabled-label thrv_wrapper tcb-no-delete tcb-no-clone tve_no_drag\"><span class=\"tcb-numbered-list-index\">1<\/span><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-numbered-list-text tcb-no-delete\" data-css=\"tve-u-1691db36b5d\"><div style=\"text-align: justify;\">Creamos un nuevo Libro Excel y lo guardamos con el nombre Libro1.<\/div><\/span><\/li><li class=\"thrv-styled-list-item\"><div class=\"tcb-numbered-list-number thrv-disabled-label thrv_wrapper tcb-no-delete tcb-no-clone tve_no_drag\"><span class=\"tcb-numbered-list-index\">2<\/span><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-numbered-list-text tcb-no-delete\" data-css=\"tve-u-1691db36b5d\"><div style=\"text-align: justify;\">Desde la pesta\u00f1a \"Desarrollador\" secci\u00f3n \"C\u00f3digo\", seleccionamos la opci\u00f3n \"Grabar Macro\" y la Macro comenz\u00f3 a grabar.<\/div><\/span><\/li><li class=\"thrv-styled-list-item\"><div class=\"tcb-numbered-list-number thrv-disabled-label thrv_wrapper tcb-no-delete tcb-no-clone tve_no_drag\"><span class=\"tcb-numbered-list-index\">3<\/span><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-numbered-list-text tcb-no-delete\" data-css=\"tve-u-1691db36b5d\"><div style=\"text-align: justify;\">En la celda A1 del Libro1 escribimos el valor 1500.<\/div><\/span><\/li><li class=\"thrv-styled-list-item\"><div class=\"tcb-numbered-list-number thrv-disabled-label thrv_wrapper tcb-no-delete tcb-no-clone tve_no_drag\"><span class=\"tcb-numbered-list-index\">4<\/span><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-numbered-list-text tcb-no-delete\" data-css=\"tve-u-1691db36b5d\"><div style=\"text-align: justify;\">Detuvimos la grabaci\u00f3n desde la pesata\u00f1a \"Desarrollador\" secci\u00f3n \"Codigo\" &gt; Detener Grabaci\u00f3n.<\/div><\/span><\/li><li class=\"thrv-styled-list-item\"><div class=\"tcb-numbered-list-number thrv-disabled-label thrv_wrapper tcb-no-delete tcb-no-clone tve_no_drag\"><span class=\"tcb-numbered-list-index\">5<\/span><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-numbered-list-text tcb-no-delete\" data-css=\"tve-u-1691db36b5d\"><div style=\"text-align: justify;\">Borramos la celda A1 (Quedo con el valor 1500 cuando grabamos la Macro).<\/div><\/span><\/li><li class=\"thrv-styled-list-item\"><div class=\"tcb-numbered-list-number thrv-disabled-label thrv_wrapper tcb-no-delete tcb-no-clone tve_no_drag\"><span class=\"tcb-numbered-list-index\">6<\/span><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-numbered-list-text tcb-no-delete\" data-css=\"tve-u-1691db36b5d\"><div style=\"text-align: justify;\">Ejecutamos la Macro desde la pesta\u00f1a \"Desarrollador\" secci\u00f3n \"C\u00f3digo\" &gt; Macros, seleccionamos de la lista MiPrimeraMacro y luego pulsamos \"Aceptar\".<\/div><\/span><\/li><li class=\"thrv-styled-list-item\"><div class=\"tcb-numbered-list-number thrv-disabled-label thrv_wrapper tcb-no-delete tcb-no-clone tve_no_drag\"><span class=\"tcb-numbered-list-index\">7<\/span><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-numbered-list-text tcb-no-delete\" data-css=\"tve-u-1691db36b5d\"><div style=\"text-align: justify;\">El resultado es que en la celda A1 se vuelve a escribir el valor 1500, que fue justamente lo que grabamos con la Macro.<\/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-161df69394d\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161df69394e\" style=\"text-align: justify;\"><strong><span data-css=\"tve-u-161df699968\" style=\"color: rgb(255, 0, 0);\">RECUERDA:<\/span><\/strong> Al utilizar la grabadora no accedemos en ning\u00fan momento al editor de Macros ni tenemos que escribir c\u00f3digo.<\/p><p data-css=\"tve-u-161df69394e\" style=\"text-align: justify;\">Todo lo hace autom\u00e1ticamente la Grabadora. Esto es todo para este Post, nos vemos en el pr\u00f3ximo articulo:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv-button tve_ea_thrive_animation tve_anim_appear\" data-css=\"tve-u-1691dbe69b3\" 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-macros-escrita-vs-grabada.html\" class=\"tcb-button-link tve_evt_manager_listen tve_et_tve-viewport\" 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-1691dbe69b6\"><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-161df6cfc80\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-161df6cfc81\" style=\"text-align: justify;\">Me gustar\u00eda saber que piensas de este articulo \"Programar en Excel - C\u00f3digos de la Macro Grabada en VBA\".<\/p><p data-css=\"tve-u-161df6cfc81\" style=\"text-align: justify;\">Por lo tanto:<\/p><p data-css=\"tve-u-161df6cfc81\" 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-161df6e0ec1\" 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-1939e0fa0ab\" style=\"\">\n\t<div class=\"tve-content-box-background\"><\/div>\n\t<div class=\"tve-cb\" style=\"\" data-css=\"tve-u-1939e0fa0a9\"><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-1939e0fa0ac\">&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-1939e0fa0ad\">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-1939e0fa0ae\" 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-1939e0fa0af\">whatsapp<\/span> o bien al correo electr\u00f3nico rogerperez@aplicaexcelcontable.com.<span style=\"--tcb-text-highlight-color: transparent !important;\" data-css=\"tve-u-1939e0fa0b0\"><\/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-161df6e0ec1\"] { color: rgb(0, 23, 255) !important; }[data-css=\"tve-u-161df699968\"] { color: rgb(255, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-161df61a371\"] p, :not(#tve) [data-css=\"tve-u-161df61a371\"] li, :not(#tve) [data-css=\"tve-u-161df61a371\"] blockquote, :not(#tve) [data-css=\"tve-u-161df61a371\"] address, :not(#tve) [data-css=\"tve-u-161df61a371\"] h1, :not(#tve) [data-css=\"tve-u-161df61a371\"] h2, :not(#tve) [data-css=\"tve-u-161df61a371\"] h3, :not(#tve) [data-css=\"tve-u-161df61a371\"] h4, :not(#tve) [data-css=\"tve-u-161df61a371\"] h5, :not(#tve) [data-css=\"tve-u-161df61a371\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df61a371\"] .tcb-numbered-list-number { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df5e9300\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df5d682e\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df5bf4f1\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df5aad2f\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-161df59b457\"] p, :not(#tve) [data-css=\"tve-u-161df59b457\"] li, :not(#tve) [data-css=\"tve-u-161df59b457\"] blockquote, :not(#tve) [data-css=\"tve-u-161df59b457\"] address, :not(#tve) [data-css=\"tve-u-161df59b457\"] h1, :not(#tve) [data-css=\"tve-u-161df59b457\"] h2, :not(#tve) [data-css=\"tve-u-161df59b457\"] h3, :not(#tve) [data-css=\"tve-u-161df59b457\"] h4, :not(#tve) [data-css=\"tve-u-161df59b457\"] h5, :not(#tve) [data-css=\"tve-u-161df59b457\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df599d71\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df599d6c\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df5895e9\"] + div { clear: none; }[data-css=\"tve-u-161df5895e9\"] { float: none; width: 611px; margin-left: auto !important; margin-right: auto !important; }:not(#tve) [data-css=\"tve-u-161df55581c\"] p, :not(#tve) [data-css=\"tve-u-161df55581c\"] li, :not(#tve) [data-css=\"tve-u-161df55581c\"] blockquote, :not(#tve) [data-css=\"tve-u-161df55581c\"] address, :not(#tve) [data-css=\"tve-u-161df55581c\"] h1, :not(#tve) [data-css=\"tve-u-161df55581c\"] h2, :not(#tve) [data-css=\"tve-u-161df55581c\"] h3, :not(#tve) [data-css=\"tve-u-161df55581c\"] h4, :not(#tve) [data-css=\"tve-u-161df55581c\"] h5, :not(#tve) [data-css=\"tve-u-161df55581c\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df554596\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-161df554591\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-161df54e8c3\"] { font-size: 25px !important; color: rgb(0, 23, 255) !important; }[data-css=\"tve-u-161df4fbb5c\"] { color: rgb(0, 23, 255) !important; }[data-css=\"tve-u-161df4dd69a\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161df4dd69b\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161df607c0b\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161df607c0d\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161df69394d\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161df69394e\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-161df6cfc80\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-161df6cfc81\"] { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-1691d34c0dd\"] { font-size: 28px !important; color: rgb(255, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-161df59b457\"] p, :not(#tve) [data-css=\"tve-u-161df59b457\"] li, :not(#tve) [data-css=\"tve-u-161df59b457\"] blockquote, :not(#tve) [data-css=\"tve-u-161df59b457\"] address, :not(#tve) [data-css=\"tve-u-161df59b457\"] .tcb-plain-text, :not(#tve) [data-css=\"tve-u-161df59b457\"] label, :not(#tve) [data-css=\"tve-u-161df59b457\"] h1, :not(#tve) [data-css=\"tve-u-161df59b457\"] h2, :not(#tve) [data-css=\"tve-u-161df59b457\"] h3, :not(#tve) [data-css=\"tve-u-161df59b457\"] h4, :not(#tve) [data-css=\"tve-u-161df59b457\"] h5, :not(#tve) [data-css=\"tve-u-161df59b457\"] h6 { color: rgb(10, 0, 0); }:not(#tve) [data-css=\"tve-u-1691db0506e\"] { font-size: 25px !important; color: rgb(0, 23, 255) !important; }:not(#tve) [data-css=\"tve-u-161df61a371\"] p, :not(#tve) [data-css=\"tve-u-161df61a371\"] li, :not(#tve) [data-css=\"tve-u-161df61a371\"] blockquote, :not(#tve) [data-css=\"tve-u-161df61a371\"] address, :not(#tve) [data-css=\"tve-u-161df61a371\"] .tcb-plain-text, :not(#tve) [data-css=\"tve-u-161df61a371\"] label, :not(#tve) [data-css=\"tve-u-161df61a371\"] h1, :not(#tve) [data-css=\"tve-u-161df61a371\"] h2, :not(#tve) [data-css=\"tve-u-161df61a371\"] h3, :not(#tve) [data-css=\"tve-u-161df61a371\"] h4, :not(#tve) [data-css=\"tve-u-161df61a371\"] h5, :not(#tve) [data-css=\"tve-u-161df61a371\"] h6 { color: rgb(10, 0, 0); }[data-css=\"tve-u-1691dbe69b3\"] { display: block; max-width: 382px; width: 382px; }:not(#tve) [data-css=\"tve-u-1691dbe69b3\"]: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-1691dbe69b3\"] .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-1691dbe69b3\"] .tcb-button-link { color: rgb(0, 23, 255) !important; }:not(#tve) [data-css=\"tve-u-1691dbe69b6\"] { color: rgb(3, 255, 51) !important; font-size: 19px !important; }:not(#tve) [data-css=\"tve-u-1691dbe69b3\"]:hover .tcb-button-link span { color: rgb(255, 255, 255) !important; }:not(#tve) [data-css=\"tve-u-1691dbe69b3\"] .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) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] p, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] li, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] blockquote, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] address, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] .tcb-plain-text, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] label { font-size: var(--tve-font-size,20px); }[data-css=\"tve-u-1939e0fa0a9\"] { --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-1939e0fa0a9\"] p, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] li, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] blockquote, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] address, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] .tcb-plain-text, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] label, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] h1, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] h2, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] h3, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] h4, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] h5, :not(#tve) .thrv-content-box [data-css=\"tve-u-1939e0fa0a9\"] 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-1939e0fa0a9\"] p { padding: 0px 0px 11px !important; margin: 0px !important; }[data-css=\"tve-u-1939e0fa0ab\"] { margin-top: 20px !important; margin-bottom: 20px !important; padding: 0px !important; }[data-css=\"tve-u-1939e0fa0ac\"] { --tcb-text-highlight-color: rgb(237,243,13) !important; }[data-css=\"tve-u-1939e0fa0ad\"] { --tcb-text-highlight-color: rgb(237,243,13) !important; }[data-css=\"tve-u-1939e0fa0ae\"] { --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-1939e0fa0af\"] { --tcb-text-highlight-color: rgb(30,184,76) !important; }[data-css=\"tve-u-1939e0fa0b0\"] { --tcb-text-highlight-color: transparent !important; }}@media (max-width: 1023px){:not(#tve) [data-css=\"tve-u-1691d34c0dd\"] { font-size: 25px !important; }:not(#tve) [data-css=\"tve-u-161df54e8c3\"] { font-size: 22px !important; }:not(#tve) [data-css=\"tve-u-1691db0506e\"] { font-size: 22px !important; }}@media (max-width: 767px){:not(#tve) [data-css=\"tve-u-161df54e8c3\"] { font-size: 20px !important; }:not(#tve) [data-css=\"tve-u-1691dbe69b3\"] .tcb-button-link { font-size: 20px; }[data-css=\"tve-u-1691dbe69b3\"] { display: block; max-width: 292px; width: 292px; }:not(#tve) [data-css=\"tve-u-1691dbe69b6\"] { font-size: 14px !important; }:not(#tve) [data-css=\"tve-u-1691d34c0dd\"] { font-size: 23px !important; }:not(#tve) [data-css=\"tve-u-1691db0506e\"] { 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,66,292,178,274,295,209,294,182],"class_list":["post-2853","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programar-en-excel","category-curso-basico-de-vba","tag-aprender-excel","tag-excel","tag-excel-y-contabilidad","tag-macro","tag-macro-grabada","tag-plantillas-excel","tag-programar","tag-programar-en-excel","tag-vba","post-wrapper","thrv_wrapper"],"_links":{"self":[{"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/posts\/2853","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=2853"}],"version-history":[{"count":0,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/posts\/2853\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/media\/2857"}],"wp:attachment":[{"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/media?parent=2853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/categories?post=2853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/tags?post=2853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}