{"id":4685,"date":"2013-12-28T06:00:54","date_gmt":"2013-12-28T12:00:54","guid":{"rendered":"http:\/\/aplicaexcelcontable.com\/blog\/?p=4685"},"modified":"2024-12-07T14:41:02","modified_gmt":"2024-12-07T20:41:02","slug":"ejecucion-de-macros-3-en-excel","status":"publish","type":"post","link":"https:\/\/aplicaexcelcontable.com\/blog\/ejecucion-de-macros-3-en-excel.html","title":{"rendered":"Ejecucion de Macros 3 &#8211; Curso Basico de VBA"},"content":{"rendered":"<h1 style=\"text-align: center;\">Ejecucion de Macros 3 &#8211; Curso Basico de VBA<\/h1>\n<p style=\"text-align: justify;\">Comencemos con el articulo <strong>Ejecucion de Macros 3:<\/strong><\/p>\n<p style=\"text-align: justify;\">Muy bien, este es el ultimo articulo, relacionado al tema Ejecuci\u00f3n de Macros y me pregunto, si &nbsp;ya le\u00edste el articulo anterior?<\/p>\n<p style=\"text-align: justify;\">Y si todav\u00eda no lo has le\u00eddo, por favor <span style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/aplicaexcelcontable.com\/blog\/programar-en-excel-ejecucion-de-macros-2.html\" style=\"outline: none;\" target=\"_blank\"><strong>pulsa clic aqu\u00ed<\/strong><\/a><\/span> y l\u00e9elo, una vez termines de leerlo, regresa nuevamente aqu\u00ed y continua con este articulo.<\/p>\n<p style=\"text-align: justify;\">Hoy vamos a conocer los dos \u00faltimos m\u00e9todos, Ejecutar Macro desde Botones y la Ejecuci\u00f3n autom\u00e1tica de Macros.&nbsp;<\/p>\n<h2 style=\"text-align: center;\">Ejecuci\u00f3n de Macros 3 desde Botones<\/h2>\n<p style=\"text-align: justify;\">Tambi\u00e9n es posible insertar para Excel desde la pesta\u00f1a \u00abDesarrollador\u00bb y asignarle Macros a los mismos. Para hacerlo sigue estos pasos:<\/p>\n<ul>\n<li><span>Ir a la pesta\u00f1a \u00abDesarrollador\u00bb =&gt; secci\u00f3n \u00abControles\u00bb &gt; Insertar.<\/span><\/li>\n<li><span>Desde el comando \u00abInsertar\u00bb, lo desplegamos y escogemos el control de formulario \u00abBot\u00f3n\u00bb.<\/span><\/li>\n<li><span>Una vez seleccionado lo dibujamos en la Hoja Exel.<\/span><\/li>\n<\/ul>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Ejecucion de Macros 3\" width=\"624\" height=\"360\" title=\"Control de Formularios Bot\u00f3n\" data-id=\"35287\" src=\"\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2018\/03\/Ejecucion-de-Macros-desde-botones.png\" data-width=\"624\" data-height=\"360\" data-init-width=\"624\" data-init-height=\"360\" style=\"aspect-ratio: auto 624 \/ 360;\"><\/span><\/p>\n<ul>\n<li><span>Muy bien, ahora que ya tenemos dibujado los botones, vamos a asignarle la macro al bot\u00f3n, si hacemos clic derecho sobre el bot\u00f3n se desplegar\u00e1 el Men\u00fa de opciones, las opciones m\u00e1s importantes son las de cambiar imagen del bot\u00f3n y la de asignar Macro.<\/span><\/li>\n<li><span>Esta \u00faltima opci\u00f3n nos permitir\u00e1 abrir el cuadro de di\u00e1logo con la lista de macros creadas para asignarle una macro determinada .<\/span><\/li>\n<\/ul>\n<p><span style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" alt=\"Ejecucion de Macros 3\" width=\"504\" height=\"492\" title=\"Ejecucion de Macros - Asignar Macro\" data-id=\"41730\" src=\"https:\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2019\/03\/Ejecucion-de-Macros-Asignar-Macro.png\" style=\"aspect-ratio: auto 504 \/ 492;\" data-width=\"504\" data-height=\"492\" data-init-width=\"504\" data-init-height=\"492\"><\/span><\/p>\n<ul>\n<li><span>Se abre una nueva ventana con la lista de Macros:<\/span><\/li>\n<\/ul>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Ejecucion de Macros 3\" width=\"386\" height=\"371\" title=\"Ejecucion de Macros - Eligiendo Macro\" data-id=\"35289\" src=\"\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2018\/03\/Ejecucion-de-Macros-Eligiendo-Macro.png\" data-width=\"386\" data-height=\"371\" data-init-width=\"386\" data-init-height=\"371\" style=\"aspect-ratio: auto 386 \/ 371;\"><\/span><\/p>\n<ul>\n<li><span>Seleccionamos la Macro y pulsamos clic en \u00abAceptar\u00bb. Al realizar esta acci\u00f3n, la Macro ya esta asignada al bot\u00f3n, ahora, con tan solo hacer un clic te llevara directamente a la Hoja F.COMPRA.<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Muy bien, a continuaci\u00f3n vamos a ver <strong>Como se ejecuta una Macro Autom\u00e1ticamente:<\/strong><\/p>\n<h3 style=\"text-align: center;\">Ejecucion de Macros 3 Autom\u00e1ticamente<\/h3>\n<p style=\"text-align: justify;\">Las Macros tambi\u00e9n se pueden ejecutar autom\u00e1ticamente, por ejemplo, se pueden hacer macros que se ejecuten cada cierto tiempo o que se ejecuten solas cada vez que el usuario hace algo como abrir, cerrar, guardar un Libro, activar o desactivar una Hoja, etc.<\/p>\n<p style=\"text-align: justify;\">Este tema se tratara con m\u00e1s detalle en el siguiente tema \u00abMacros de Eventos\u00bb. Si te ha gustado el tema de hoy, te invito a que lo compartas con tus amigos de Facebook pulsando clic en el bot\u00f3n compartir:<\/p>\n<p style=\"text-align: justify;\">Me gustar\u00eda saber que piensas de este articulo \u00abProgramar en Excel &#8211; Ejecucion de Macros 3\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\" 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>Ejecucion de Macros 3 &#8211; Curso Basico de VBA Comencemos con el articulo Ejecucion de Macros 3: Muy bien, este es el ultimo articulo, relacionado al tema Ejecuci\u00f3n de Macros y me pregunto, si &nbsp;ya le\u00edste el articulo anterior? Y si todav\u00eda no lo has le\u00eddo, por favor pulsa clic aqu\u00ed y l\u00e9elo, una vez [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":41730,"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-16200853d04\" style=\"text-align: center;\" class=\"\">Ejecucion de Macros 3 - 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-162008604c8\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-162008604ca\" style=\"text-align: justify;\">Comencemos con el articulo <strong>Ejecucion de Macros 3:<\/strong><\/p><p data-css=\"tve-u-162008604ca\" style=\"text-align: justify;\">Muy bien, este es el ultimo articulo, relacionado al tema Ejecuci\u00f3n de Macros y me pregunto, si &nbsp;ya le\u00edste el articulo anterior?<\/p><p data-css=\"tve-u-162008604ca\" style=\"text-align: justify;\">Y si todav\u00eda no lo has le\u00eddo, por favor <span data-css=\"tve-u-16200890360\" style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/aplicaexcelcontable.com\/blog\/programar-en-excel-ejecucion-de-macros-2.html\" class=\"\" style=\"outline: none;\" target=\"_blank\"><strong>pulsa clic aqu\u00ed<\/strong><\/a><\/span> y l\u00e9elo, una vez termines de leerlo, regresa nuevamente aqu\u00ed y continua con este articulo.<\/p><p data-css=\"tve-u-162008604ca\" style=\"text-align: justify;\">Hoy vamos a conocer los dos \u00faltimos m\u00e9todos, Ejecutar Macro desde Botones y la Ejecuci\u00f3n autom\u00e1tica de Macros.&nbsp;<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h2\"><h2 data-css=\"tve-u-1620091c168\" style=\"text-align: center;\" class=\"\">Ejecuci\u00f3n de Macros 3 desde Botones<\/h2><\/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-1620092696b\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-1620092696d\" style=\"text-align: justify;\">Tambi\u00e9n es posible insertar para Excel desde la pesta\u00f1a \"Desarrollador\" y asignarle Macros a los mismos. Para hacerlo sigue estos pasos:<\/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-1620093b730\"><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-1620093a221\"><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-1694b2414a1\"><div style=\"text-align: justify;\">Ir a la pesta\u00f1a \"Desarrollador\" =&gt; secci\u00f3n \"Controles\" &gt; Insertar.<\/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-1620093a225\"><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-1694b2414a1\"><div style=\"text-align: justify;\">Desde el comando \"Insertar\", lo desplegamos y escogemos el control de formulario \"Bot\u00f3n\".<\/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-1620093a226\"><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-1694b2414a1\"><div style=\"text-align: justify;\">Una vez seleccionado lo dibujamos en la Hoja Exel.<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper tve_image_caption\" data-css=\"tve-u-1620098c8c3\"><span class=\"tve_image_frame\"><img loading=\"lazy\" decoding=\"async\" class=\"tve_image wp-image-35287\" alt=\"Ejecucion de Macros 3\" width=\"624\" height=\"360\" title=\"Control de Formularios Bot\u00f3n\" data-id=\"35287\" src=\"\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2018\/03\/Ejecucion-de-Macros-desde-botones.png\" data-width=\"624\" data-height=\"360\" data-init-width=\"624\" data-init-height=\"360\" style=\"aspect-ratio: auto 624 \/ 360;\"><\/span><\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-162009a480c\"><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-162009a307c\"><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-1694b35f24c\"><div style=\"text-align: justify;\">Muy bien, ahora que ya tenemos dibujado los botones, vamos a asignarle la macro al bot\u00f3n, si hacemos clic derecho sobre el bot\u00f3n se desplegar\u00e1 el Men\u00fa de opciones, las opciones m\u00e1s importantes son las de cambiar imagen del bot\u00f3n y la de asignar Macro.<\/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-16200a3a5fc\"><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-1694b35f24c\"><div style=\"text-align: justify;\">Esta \u00faltima opci\u00f3n nos permitir\u00e1 abrir el cuadro de di\u00e1logo con la lista de macros creadas para asignarle una macro determinada .<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper tve_image_caption\" data-css=\"tve-u-1694b419773\"><span class=\"tve_image_frame\" style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" class=\"tve_image wp-image-41730\" alt=\"Ejecucion de Macros 3\" width=\"504\" height=\"492\" title=\"Ejecucion de Macros - Asignar Macro\" data-id=\"41730\" src=\"https:\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2019\/03\/Ejecucion-de-Macros-Asignar-Macro.png\" style=\"aspect-ratio: auto 504 \/ 492;\" data-width=\"504\" data-height=\"492\" data-init-width=\"504\" data-init-height=\"492\"><\/span><\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-16200a92e29\"><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-16200a91a97\"><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-1694b438ef3\"><div style=\"text-align: justify;\">Se abre una nueva ventana con la lista de Macros:<\/div><\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper tve_image_caption\" data-css=\"tve-u-16200a86fa1\"><span class=\"tve_image_frame\"><img loading=\"lazy\" decoding=\"async\" class=\"tve_image wp-image-35289\" alt=\"Ejecucion de Macros 3\" width=\"386\" height=\"371\" title=\"Ejecucion de Macros - Eligiendo Macro\" data-id=\"35289\" src=\"\/\/aplicaexcelcontable.com\/blog\/wp-content\/uploads\/2018\/03\/Ejecucion-de-Macros-Eligiendo-Macro.png\" data-width=\"386\" data-height=\"371\" data-init-width=\"386\" data-init-height=\"371\" style=\"aspect-ratio: auto 386 \/ 371;\"><\/span><\/div><div class=\"thrv_wrapper thrv-styled_list\" data-icon-code=\"icon-check\" data-color=\"rgb(0, 0, 0)\" data-css=\"tve-u-16200aa78ee\"><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-16200aa634b\"><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-1694b4cbf7c\"><div style=\"text-align: justify;\">Seleccionamos la Macro y pulsamos clic en \"Aceptar\". Al realizar esta acci\u00f3n, la Macro ya esta asignada al bot\u00f3n, ahora, con tan solo hacer un clic te llevara directamente a la Hoja F.COMPRA.<\/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-16200b0b54c\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-16200b0b54e\" style=\"text-align: justify;\">Muy bien, a continuaci\u00f3n vamos a ver <strong>Como se ejecuta una Macro Autom\u00e1ticamente:<\/strong><\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\" data-tag=\"h3\"><h3 data-css=\"tve-u-16200b2befc\" style=\"text-align: center;\" class=\"\">Ejecucion de Macros 3 Autom\u00e1ticamente<\/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-16200b36a67\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-16200b36a68\" style=\"text-align: justify;\">Las Macros tambi\u00e9n se pueden ejecutar autom\u00e1ticamente, por ejemplo, se pueden hacer macros que se ejecuten cada cierto tiempo o que se ejecuten solas cada vez que el usuario hace algo como abrir, cerrar, guardar un Libro, activar o desactivar una Hoja, etc.<\/p><p data-css=\"tve-u-16200b36a68\" style=\"text-align: justify;\">Este tema se tratara con m\u00e1s detalle en el siguiente tema \"Macros de Eventos\". Si te ha gustado el tema de hoy, te invito a que lo compartas con tus amigos de Facebook pulsando clic en el bot\u00f3n compartir:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_social_custom thrv_social\" data-counts=\"\" data-min_shares=\"0\" data-css=\"tve-u-16200b695ae\">\n<div class=\"tve_social_items tve_social_custom tve_style_1 tve_social_itb\">\n<div class=\"tve_s_item tve_s_fb_share\" data-s=\"fb_share\" data-href=\"https:\/\/aplicaexcelcontable.com\/blog\/programar-en-excel-ejecucion-de-macros-3.html\" data-label=\"Compartir\">\n<a href=\"javascript:void(0)\" class=\"tve_s_link\"><span class=\"tve_s_icon thrv-svg-icon\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"tcb-facebook\" viewBox=\"0 0 16 28\"><path d=\"M14.984 0.187v4.125h-2.453q-1.344 0-1.813 0.562t-0.469 1.687v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406q0-2.906 1.625-4.508t4.328-1.602q2.297 0 3.563 0.187z\"><\/path><\/svg><\/span><span class=\"tve_s_text\">Compartir<\/span><span class=\"tve_s_count\">0<\/span><\/a>\n<\/div>\n<\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box\" data-css=\"tve-u-193a2da2485\" style=\"\">\n<div class=\"tve-content-box-background\"><\/div>\n<div class=\"tve-cb tve_empty_dropzone\" data-css=\"tve-u-16200b6b817\"><div class=\"thrv_wrapper thrv_text_element tve_empty_dropzone\"><p data-css=\"tve-u-16200b6b81a\" style=\"text-align: justify;\">Me gustar\u00eda saber que piensas de este articulo \"Programar en Excel - Ejecucion de Macros 3\".<\/p><p data-css=\"tve-u-16200b6b81a\" style=\"text-align: justify;\">Por lo tanto:<\/p><p data-css=\"tve-u-16200b6b81a\" 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-16200b7b08a\" style=\"color: rgb(0, 23, 255);\"><a href=\"https:\/\/www.facebook.com\/AplicaExceContable\/\" target=\"_blank\"><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-193a2d9e06f\" style=\"\">\n\t<div class=\"tve-content-box-background\"><\/div>\n\t<div class=\"tve-cb\" style=\"\" data-css=\"tve-u-193a2d9e06d\"><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-193a2d9e070\">&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-193a2d9e071\">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-193a2d9e072\" 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-193a2d9e073\">whatsapp<\/span> o bien al correo electr\u00f3nico rogerperez@aplicaexcelcontable.com.<span style=\"--tcb-text-highlight-color: transparent !important;\" data-css=\"tve-u-193a2d9e074\"><\/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-16200b7b08a\"] { color: rgb(0, 23, 255) !important; }[data-css=\"tve-u-16200b695ae\"] { float: none; margin-left: auto !important; margin-right: auto !important; }:not(#tve) [data-css=\"tve-u-16200b2befc\"] { font-size: 32px !important; color: rgb(0, 23, 255) !important; }:not(#tve) [data-css=\"tve-u-16200aa78ee\"] p, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] li, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] blockquote, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] address, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] h1, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] h2, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] h3, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] h4, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] h5, :not(#tve) [data-css=\"tve-u-16200aa78ee\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-16200aa634b\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-16200a92e29\"] p, :not(#tve) [data-css=\"tve-u-16200a92e29\"] li, :not(#tve) [data-css=\"tve-u-16200a92e29\"] blockquote, :not(#tve) [data-css=\"tve-u-16200a92e29\"] address, :not(#tve) [data-css=\"tve-u-16200a92e29\"] h1, :not(#tve) [data-css=\"tve-u-16200a92e29\"] h2, :not(#tve) [data-css=\"tve-u-16200a92e29\"] h3, :not(#tve) [data-css=\"tve-u-16200a92e29\"] h4, :not(#tve) [data-css=\"tve-u-16200a92e29\"] h5, :not(#tve) [data-css=\"tve-u-16200a92e29\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-16200a91a97\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-16200a86fa1\"] + div { clear: none; }[data-css=\"tve-u-16200a86fa1\"] { float: none; width: 386px; margin-left: auto !important; margin-right: auto !important; }[data-css=\"tve-u-16200a3a5fc\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-162009a480c\"] p, :not(#tve) [data-css=\"tve-u-162009a480c\"] li, :not(#tve) [data-css=\"tve-u-162009a480c\"] blockquote, :not(#tve) [data-css=\"tve-u-162009a480c\"] address, :not(#tve) [data-css=\"tve-u-162009a480c\"] h1, :not(#tve) [data-css=\"tve-u-162009a480c\"] h2, :not(#tve) [data-css=\"tve-u-162009a480c\"] h3, :not(#tve) [data-css=\"tve-u-162009a480c\"] h4, :not(#tve) [data-css=\"tve-u-162009a480c\"] h5, :not(#tve) [data-css=\"tve-u-162009a480c\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-162009a307c\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-1620098c8c3\"] + div { clear: none; }[data-css=\"tve-u-1620098c8c3\"] { float: none; width: 624px; margin-left: auto !important; margin-right: auto !important; }:not(#tve) [data-css=\"tve-u-1620093b730\"] p, :not(#tve) [data-css=\"tve-u-1620093b730\"] li, :not(#tve) [data-css=\"tve-u-1620093b730\"] blockquote, :not(#tve) [data-css=\"tve-u-1620093b730\"] address, :not(#tve) [data-css=\"tve-u-1620093b730\"] h1, :not(#tve) [data-css=\"tve-u-1620093b730\"] h2, :not(#tve) [data-css=\"tve-u-1620093b730\"] h3, :not(#tve) [data-css=\"tve-u-1620093b730\"] h4, :not(#tve) [data-css=\"tve-u-1620093b730\"] h5, :not(#tve) [data-css=\"tve-u-1620093b730\"] h6 { color: rgb(0, 0, 0); }[data-css=\"tve-u-1620093a226\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-1620093a225\"] { color: rgb(0, 0, 0); }[data-css=\"tve-u-1620093a221\"] { color: rgb(0, 0, 0); }:not(#tve) [data-css=\"tve-u-1620091c168\"] { font-size: 38px !important; color: rgb(0, 23, 255) !important; }[data-css=\"tve-u-16200890360\"] { color: rgb(0, 23, 255) !important; }:not(#tve) [data-css=\"tve-u-16200853d04\"] { font-size: 42px !important; color: rgb(255, 0, 0) !important; }[data-css=\"tve-u-162008604c8\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-162008604ca\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-1620092696b\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-1620092696d\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-16200b0b54c\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-16200b0b54e\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-16200b36a67\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-16200b36a68\"] { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-16200b6b817\"] p { margin: 0px 0px 11px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-16200b6b81a\"] { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-1620093b730\"] li { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-162009a480c\"] li { color: rgb(10, 0, 0) !important; }[data-css=\"tve-u-1694b419773\"] { width: 504px; float: none; margin-left: auto !important; margin-right: auto !important; }:not(#tve) [data-css=\"tve-u-16200a92e29\"] li { color: rgb(10, 0, 0) !important; }:not(#tve) [data-css=\"tve-u-16200aa78ee\"] li { color: rgb(10, 0, 0) !important; }.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-193a2d9e06d\"] p, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] li, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] blockquote, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] address, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] .tcb-plain-text, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] label { font-size: var(--tve-font-size,20px); }[data-css=\"tve-u-193a2d9e06d\"] { --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-193a2d9e06d\"] p, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] li, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] blockquote, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] address, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] .tcb-plain-text, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] label, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] h1, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] h2, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] h3, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] h4, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] h5, :not(#tve) .thrv-content-box [data-css=\"tve-u-193a2d9e06d\"] 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-193a2d9e06d\"] p { padding: 0px 0px 11px !important; margin: 0px !important; }[data-css=\"tve-u-193a2d9e06f\"] { margin-top: 0px !important; margin-bottom: 20px !important; padding: 0px !important; }[data-css=\"tve-u-193a2d9e070\"] { --tcb-text-highlight-color: rgb(237, 243, 13) !important; }[data-css=\"tve-u-193a2d9e071\"] { --tcb-text-highlight-color: rgb(237, 243, 13) !important; }[data-css=\"tve-u-193a2d9e072\"] { --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-193a2d9e073\"] { --tcb-text-highlight-color: rgb(30, 184, 76) !important; }[data-css=\"tve-u-193a2d9e074\"] { --tcb-text-highlight-color: transparent !important; }[data-css=\"tve-u-193a2da2485\"] { margin-bottom: 10px !important; }}@media (max-width: 1023px){:not(#tve) [data-css=\"tve-u-16200853d04\"] { font-size: 25px !important; }:not(#tve) [data-css=\"tve-u-1620091c168\"] { font-size: 22px !important; }:not(#tve) [data-css=\"tve-u-16200b2befc\"] { font-size: 22px !important; }}@media (max-width: 767px){:not(#tve) [data-css=\"tve-u-16200b2befc\"] { font-size: 20px !important; }:not(#tve) [data-css=\"tve-u-1620091c168\"] { font-size: 20px !important; }:not(#tve) [data-css=\"tve-u-16200853d04\"] { font-size: 23px !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,284,292,27,295,294],"class_list":["post-4685","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programar-en-excel","category-curso-basico-de-vba","tag-aprender-excel","tag-ejecucion-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\/4685","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=4685"}],"version-history":[{"count":0,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/posts\/4685\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/media\/41730"}],"wp:attachment":[{"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/media?parent=4685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/categories?post=4685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aplicaexcelcontable.com\/blog\/wp-json\/wp\/v2\/tags?post=4685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}