tag:blogger.com,1999:blog-60515905862563357382024-01-06T16:23:27.262-06:00Expertos en Excel - Personal Consulting S.A.Aprenda fácilmente a utilizar de manera eficiente las herramientas del Excel, a través de trucos y operaciones sencillas que le permitirán ahorrar gran cantidad de tiempo.Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.comBlogger170125tag:blogger.com,1999:blog-6051590586256335738.post-62747475094945890152020-02-21T13:01:00.003-06:002023-01-24T19:54:19.534-06:00Video: Algunos trucos sencillos y básicos con auto sumas<span face="Arial, Helvetica, sans-serif" style="color: #073763;">Algunos trucos sencillos y básicos con auto sumas</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/XYIB-dc9zz8/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/XYIB-dc9zz8?feature=player_embedded" width="320"></iframe></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span face="Arial, Helvetica, sans-serif" style="color: #0b5394;">Espero que les sirva. </span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span face="Arial, Helvetica, sans-serif" style="color: #0b5394;"><br /></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="line-height: 20.79px; text-align: start;"><span face="Arial, Helvetica, sans-serif" style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span face="Arial, Helvetica, sans-serif" style="color: #0b5394;"><br /></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span face="Arial, Helvetica, sans-serif" style="color: #0b5394;"><span style="text-align: start;"></span><span style="text-align: start;"></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div>
<a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;"><span face="Arial, Helvetica, sans-serif" style="color: #0b5394;">www.expertosenexcelpc.com</span></a></div>
<div style="text-align: start;">
<div style="text-align: justify;">
<a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;"><span face="Arial, Helvetica, sans-serif" style="color: #0b5394;">www.expertosenwordpc.blogspot.com</span></a></div>
<div style="text-align: justify;">
<span face="Arial, Helvetica, sans-serif" style="color: #0b5394;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></div>
<span face="Arial, Helvetica, sans-serif" style="color: #0b5394;"></span></div>
<span face="Arial, Helvetica, sans-serif" style="color: #0b5394;"><span style="line-height: 20.79px;"></span><br /></span><div>
<span style="line-height: 20.79px;"><b style="text-align: start;"><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #771100; text-decoration-line: none;" target="_blank"><span face="Arial, Helvetica, sans-serif" style="color: #0b5394;">Síguenos en Facebook</span></a></b></span></div>
</div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-83532047438116773892020-02-14T16:59:00.002-06:002020-02-21T13:01:49.732-06:00Video: ¿Como entrar y salir del Excel sin utilizar el mouse?<span style="background-color: white; color: #073763; font-family: Arial, Helvetica, sans-serif; white-space: pre-wrap;">En este primer vídeo, aprenderemos como entrar y salir del Excel sin utilizar el mouse. </span><br />
<span style="background-color: #f9f9f9; color: #0d0d0d; font-family: "roboto" , "arial" , sans-serif; font-size: 14px; white-space: pre-wrap;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/YtJjx6svNpM/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/YtJjx6svNpM?feature=player_embedded" width="320"></iframe></div>
<span style="background-color: #f9f9f9; color: #0d0d0d; font-family: "roboto" , "arial" , sans-serif; font-size: 14px; white-space: pre-wrap;"><br /></span>
<span style="background-color: #f9f9f9; color: #0d0d0d; font-family: "roboto" , "arial" , sans-serif; font-size: 14px; white-space: pre-wrap;"><br /></span>
<span style="background-color: #f9f9f9; color: #0d0d0d; font-family: "roboto" , "arial" , sans-serif; font-size: 14px; white-space: pre-wrap;"><br /></span>
<br />
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Espero que les sirva.</span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Ing. Enrique Neciosup Morales</span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><span style="text-align: start;"></span><span style="text-align: start;"></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div>
<a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">www.expertosenexcelpc.com</span></a></div>
<div style="text-align: start;">
<div style="text-align: justify;">
<a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">www.expertosenwordpc.blogspot.com</span></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"></span></div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><span style="line-height: 20.79px;"></span><br /></span>
<div>
<span style="line-height: 20.79px;"><b style="text-align: start;"><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #771100; text-decoration-line: none;" target="_blank"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Síguenos en Facebook</span></a></b></span></div>
</div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-12933020178692350942019-04-10T05:43:00.000-06:002019-04-10T05:43:11.339-06:00Contar celdas por color en Excel<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9CeJlygzE9arWeXKc-HV02-aU6qW6jPXrzy0D7s2TK7oAvz5Jq2m6KOEHGim9BrcIC09dtjWRIgcdf_FZEkFl2pHdg-nFbGq8L18PVcPJuQdAfy09YXp9EgNVXVvQpn3xVkCg9MjiKg/s1600/Imagen+009.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="367" data-original-width="654" height="179" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9CeJlygzE9arWeXKc-HV02-aU6qW6jPXrzy0D7s2TK7oAvz5Jq2m6KOEHGim9BrcIC09dtjWRIgcdf_FZEkFl2pHdg-nFbGq8L18PVcPJuQdAfy09YXp9EgNVXVvQpn3xVkCg9MjiKg/s320/Imagen+009.JPG" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Navegando por Internet, encontré una publicación que me pareció interesante compartir. Y es que muchas veces nos encontramos trabajando con tablas en las cuales resaltamos ciertas celdas o filas con un color de relleno, para luego poder identificarlas fácilmente de forma visual.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Luego de haber identificado de uno o varios colores las celdas de la tabla, surge la necesidad de contar o realizar alguna operación con las celdas resaltadas. Inmediatamente buscamos alguna función que realice estas operaciones y nos topamos con la sorpresa que no existen dentro del Excel.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Sin embargo, podríamos implementar una función, utilizando Visual Basic for Application (VBA o macros como se conoce mas popularmente) que permita dicha operación.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Empecemos por mostrar una tabla ejemplo muy sencilla:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_8Y4C7UuUuNWcB_Fb3hvbd5K-igSLLW53qGcXXEnDoRRK1NKS9Wc0xDM_K-5SCDJBkPFyXXujOsHwaRsKehwAP3bkxevI4x3zdjaDj8DADNbFM1l_5xpziZtSRGzPu14WTuM2B79Qmg/s1600/Imagen+010.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="359" data-original-width="656" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_8Y4C7UuUuNWcB_Fb3hvbd5K-igSLLW53qGcXXEnDoRRK1NKS9Wc0xDM_K-5SCDJBkPFyXXujOsHwaRsKehwAP3bkxevI4x3zdjaDj8DADNbFM1l_5xpziZtSRGzPu14WTuM2B79Qmg/s400/Imagen+010.JPG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la cual tenemos la necesidad de contar las celdas de un color específico, y para ello realizaremos los siguientes pasos:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">1.</span></b><span style="color: #0b5394;"> Presionamos las teclas </span></span><span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b>ALT+F11</b></span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> para poder ir al Visual Basic for Application.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">2. </span></b><span style="color: #0b5394;">Luego en esa pantalla seleccionamos en el </span><b><span style="color: red;">Menú Insertar</span></b><span style="color: #0b5394;">, la opción </span><span style="color: red;"><b>Módulo</b></span><span style="color: #0b5394;">.</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtoU6NTrGV-1MSZYd7PBioiIJxZbxTfq_lkyQd2LnOpRJUicRGHE1OYorldlgQ-_n1P3yWoH6iYRiK2NUEpXV6bMYZQZWZSbnZAciK7W5oUgK_aisSuEu7rOQ1pboLaJeDyVjpTik_IA/s1600/Imagen+011.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="250" data-original-width="512" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtoU6NTrGV-1MSZYd7PBioiIJxZbxTfq_lkyQd2LnOpRJUicRGHE1OYorldlgQ-_n1P3yWoH6iYRiK2NUEpXV6bMYZQZWZSbnZAciK7W5oUgK_aisSuEu7rOQ1pboLaJeDyVjpTik_IA/s400/Imagen+011.JPG" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">3. </span></b><span style="color: #0b5394;">En el módulo nuevo ingresamos el siguiente código:</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>Function CONTARCOLOR(celdaOrigen As Range, rango As Range)</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Application.Volatile</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span><span style="color: #38761d; font-family: Arial, Helvetica, sans-serif;">'Variables</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Dim celda As Range</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span><span style="color: #274e13; font-family: Arial, Helvetica, sans-serif;"> </span><span style="color: #38761d; font-family: Arial, Helvetica, sans-serif;">'Recorremos todas las celdas del rango</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> For Each celda In rango</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span><span style="color: #38761d; font-family: Arial, Helvetica, sans-serif;">'Compara la propiedad Interior.Color</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> If celda.Interior.color = celdaOrigen.Interior.color Then</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> CONTARCOLOR = CONTARCOLOR + 1</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> End If</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Next celda</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>End Function</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3aejOVWaYFK_OEUZrXmYuWADnA_gsJzqnYtUgdtkgZM9_0kZWnSivNhtIX2ORfkK3u4VEYFQHTfp2iTvmytN4P-ohm7kfCTALo3GF53yrQRIJPm3s8kiVSHoXzkpTRmRgXXtDJ2zrcw/s1600/Imagen+012.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="470" data-original-width="819" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3aejOVWaYFK_OEUZrXmYuWADnA_gsJzqnYtUgdtkgZM9_0kZWnSivNhtIX2ORfkK3u4VEYFQHTfp2iTvmytN4P-ohm7kfCTALo3GF53yrQRIJPm3s8kiVSHoXzkpTRmRgXXtDJ2zrcw/s400/Imagen+012.JPG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">4. </span></b><span style="color: #0b5394;">Cerramos el Visual Basic for Application y nos regresamos al Excel.</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">5. </span></b><span style="color: #0b5394;">En la celda donde queremos contar por color colocamos la siguiente función:</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b>=CONTARCOLOR(E1; A1:A10)</b></span></div>
<div style="text-align: center;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiymnHvehbwSJH8XhuMwFBaazKn650q0EKyg-dIRUKBtjLQgr_oLM26X_7HN1pjICyM8oiERg-zWrZ7ecPzaZ0WuZGpMLe38CJbqsjBO2nO7rqI62vUgblOxF_v24BM9Ab6jRWWdmGw2Q/s1600/Imagen+013.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="397" data-original-width="662" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiymnHvehbwSJH8XhuMwFBaazKn650q0EKyg-dIRUKBtjLQgr_oLM26X_7HN1pjICyM8oiERg-zWrZ7ecPzaZ0WuZGpMLe38CJbqsjBO2nO7rqI62vUgblOxF_v24BM9Ab6jRWWdmGw2Q/s400/Imagen+013.JPG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Y listo....</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;">Hay que tener claro que esta función que acabamos de crear solo va a funcionar en este archivo, sin embargo, si quisiéramos que esta función quede instalado en nuestro Excel, o en el de alguien mas y poder reutilizarlo entonces debemos crear un </span><b><span style="color: red;">Complemento de Excel</span></b><span style="color: #0b5394;"> y activarlo en nuestro computador.</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Para ello podemos visitar la siguiente publicación:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<h3 class="post-title entry-title" itemprop="name" style="background-color: white; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: normal; margin: 0px; position: relative; text-align: center;">
<a href="http://www.expertosenexcelpc.com/2015/09/como-crear-complementos-para-excel-add.html" target="_blank"><span style="color: red; font-family: Arial, Helvetica, sans-serif; font-size: small;">Como crear complementos para Excel (add ins)</span></a></h3>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Y si nos gustaría que nuestra función contenga descripciones dentro de la ventana del Excel podemos revisar la siguiente publicación:</span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<h3 class="post-title entry-title" itemprop="name" style="background-color: white; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: normal; margin: 0px; position: relative; text-align: center;">
<span style="color: #cc0000; font-family: Arial, Helvetica, sans-serif; font-size: small;"><a href="http://www.expertosenexcelpc.com/2015/09/agregar-descripciones-funciones-creadas.html" target="_blank">Agregar descripciones a funciones creadas en VBA</a></span></h3>
<div>
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Aquí encontraras otra función interesante:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<h3 class="post-title entry-title" itemprop="name" style="background-color: white; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: normal; margin: 0px; position: relative; text-align: center;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif; font-size: small;"><a href="http://www.expertosenexcelpc.com/2014/05/convertir-un-numero-en-letras.html" target="_blank">Convertir un número en letras</a></span></h3>
<div>
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Espero que les sirva.</span></div>
<div style="background-color: white; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; line-height: 20.79px; text-align: justify;">
<span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Ing. Enrique Neciosup Morales</span></span></div>
<div style="background-color: white; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><span style="text-align: start;"></span><span style="text-align: start;"></span></span></div>
<div style="background-color: white; line-height: 20.79px; text-align: justify;">
<div>
<a href="http://www.expertosenexcelpc.com/" style="text-decoration-line: none;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">www.expertosenexcelpc.com</span></a></div>
<div style="text-align: start;">
<div style="text-align: justify;">
<a href="http://www.expertosenwordpc.blogspot.com/" style="text-decoration-line: none;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">www.expertosenwordpc.blogspot.com</span></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><a href="mailto:enrique@expertosenexcelpc.com" style="text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></div>
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 20.79px;"></span><br /></span><div>
<span style="line-height: 20.79px;"><b style="text-align: start;"><a href="https://www.facebook.com/personal.consulting.cr/" style="text-decoration-line: none;" target="_blank"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Síguenos en Facebook</span></a></b></span></div>
</div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com3tag:blogger.com,1999:blog-6051590586256335738.post-16604813364800678502019-04-09T04:38:00.005-06:002019-04-09T04:44:30.406-06:00Contar valores únicos en una tabla dinámica<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinTeacqjTvEE_1CfDBHP4PsJGbytrUWnE5uDdt2gg9GOUukXy2WUdNNudIMnOLfJNMor8BAf2oPlsJvPpMlGwX5ywsQX10qaH88c_FBd95qXEGIAfiYVQ9G2quxgiiMVIgCuEEfIEWSg/s1600/Imagen+001.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="163" data-original-width="164" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinTeacqjTvEE_1CfDBHP4PsJGbytrUWnE5uDdt2gg9GOUukXy2WUdNNudIMnOLfJNMor8BAf2oPlsJvPpMlGwX5ywsQX10qaH88c_FBd95qXEGIAfiYVQ9G2quxgiiMVIgCuEEfIEWSg/s1600/Imagen+001.JPG" /></span></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;">¡¡¡REGRESE!!! Hace mucho tiempo que no he publicado y ya varios estudiantes me preguntaron ¿porqué? La respuesta es muy sencilla, me ha faltado tiempo. Sin embargo, he vuelto y con un tema muy interesante: Tablas dinámicas.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;"><br /></span>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Y es que hace ya algún tiempo me realizaron la siguiente pregunta: ¿Cómo podemos contar valores únicos dentro de una tabla dinámica? La respuesta la veremos a continuación.</span><br />
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"></span><br />
<a name='more'></a><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span><br />
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"></span><br />
<div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif; font-size: small; font-weight: normal;"><b style="color: red;"><u>El problema</u></b></span></div>
<div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif; font-size: small; font-weight: normal;"><b style="color: red;"><u><br /></u></b></span></div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Para poder entender bien la solución a la pregunta planteada debemos tener claro el problema, sino quedaremos mas perdidos que Adán en el día de la Madre, o que un huevo frito en un ceviche peruano (¡no se me distraigan!).</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Primero partamos de que tengo una tabla de Excel con la siguiente estructura:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJpu4ivg4dwn4iV-KP7MLj21Wi2RurLYn-WjOpLSwWe__UbB30uAevyLzJ2acB-G3KX6NqH3EeFWCj42XkdfQvFNsoTmjvJItxTcHM3gOGxG6D-uwgfk088PBAGHmNcWjokjYcMnt_g/s1600/Imagen+002.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="549" data-original-width="639" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDJpu4ivg4dwn4iV-KP7MLj21Wi2RurLYn-WjOpLSwWe__UbB30uAevyLzJ2acB-G3KX6NqH3EeFWCj42XkdfQvFNsoTmjvJItxTcHM3gOGxG6D-uwgfk088PBAGHmNcWjokjYcMnt_g/s320/Imagen+002.JPG" width="320" /></span></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">La tabla es mas grande de lo que muestro en la imagen, pero a partir de dicha tabla me indican que haga una tabla dinámica donde muestre cuantos </span><span style="color: red;"><b>Pacientes </b></span><span style="color: #0b5394;">tengo en cada </span><b><span style="color: red;">Clínica</span></b><span style="color: #0b5394;">. Al parecer una pregunta sencilla y genero la siguiente tabla dinámica:</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtI84fMA35BLPbUInjB_cNoHG0oZlT1lfUOkEia8q0orC_bNKuVFlBheu9BTJO6CYYIuA65b_efcscfG0FPOBsCJ8autFI1EmUwKOVXuVGz3vhpinvtZ2OAk9GH2zqsNvE0KuksAInBQ/s1600/Imagen+003.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="577" data-original-width="851" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtI84fMA35BLPbUInjB_cNoHG0oZlT1lfUOkEia8q0orC_bNKuVFlBheu9BTJO6CYYIuA65b_efcscfG0FPOBsCJ8autFI1EmUwKOVXuVGz3vhpinvtZ2OAk9GH2zqsNvE0KuksAInBQ/s400/Imagen+003.JPG" width="400" /></span></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">Como pueden apreciar solo llevo </span><b><span style="color: red;">Clínica </span></b><span style="color: #0b5394;">al área de </span><span style="color: red;"><b>filas </b></span><span style="color: #0b5394;">y </span><b><span style="color: red;">Paciente </span></b><span style="color: #0b5394;">al área de </span><b><span style="color: red;">Valores </span></b><span style="color: #0b5394;">y listo. Sin embargo, estoy cometiendo un error terrible pues la tabla dinámica me está contando cuantos registros (Filas) hay por cada clínica y no valores únicos.</span></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">En otras palabras, tengo un Paciente González que ha visitado 3 veces la clínica de San José, pero es un mismo paciente, entonces la tabla dinámica no lo cuenta como un único paciente sino que lo cuenta como si fueran 3 pacientes, por lo que el resultado es erróneo.</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Observen la siguiente imagen:</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJwCrXY92ZYguulfPOmqpv50RGXmwVkw4EllBZ73Dsdj4paAnVk3_ja-TUm44i7-FFMlYmcqy2LeRvrD1sPhnlcBEViozLSCgBvSJPyro3NupXIau9h_v1n1EZZ7f8OqoTyV4OVXVcNg/s1600/Imagen+004.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="475" data-original-width="499" height="380" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJwCrXY92ZYguulfPOmqpv50RGXmwVkw4EllBZ73Dsdj4paAnVk3_ja-TUm44i7-FFMlYmcqy2LeRvrD1sPhnlcBEViozLSCgBvSJPyro3NupXIau9h_v1n1EZZ7f8OqoTyV4OVXVcNg/s400/Imagen+004.JPG" width="400" /></span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">En San José la tabla dinámica me indica que tengo 21 pacientes. Si reviso la tabla y filtro solo los pacientes de San José, efectivamente me muestra 21 registros.</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Sin embargo, en realidad tengo solo 8 pacientes que han visitado la clínica en varias ocasiones, pero la tabla dinámica no cuenta valores únicos.</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">¡He allí el problema!</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u>La solución</u></b></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">La pueden buscar en Google. Espero que les haya servido este post.</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Mentira!!!! no busques mas, aquí la tenemos. De hecho, si la buscamos en Google la encontramos fácilmente. Y encontramos 2 métodos para poder solucionar este problema:</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u>Método 1: Solo para Excel 2013 o superior</u></b></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Para Excel 2013 o superior se puede configurar la tabla dinámica para obtener el recuento de los valores únicos sin necesidad de crear una columna adicional con una formula.</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Al momento de crear la tabla dinámica deberás asegurarte de marcar la opción “Agregar estos datos al Modelo de datos”.</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh81FaDXRsHJlGBiWY06pscLTzPHv_Yu697dv0m59LUr4wM_y-C2MNZ36sSsq-GQoHP7SmIey-8mo9OZa-FQ1rm4-mcoTpDbnZk0uPe6awJSNIaMh-4IQd0coD9-3QckCPXjQObNss5fQ/s1600/Imagen+005.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="355" data-original-width="403" height="281" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh81FaDXRsHJlGBiWY06pscLTzPHv_Yu697dv0m59LUr4wM_y-C2MNZ36sSsq-GQoHP7SmIey-8mo9OZa-FQ1rm4-mcoTpDbnZk0uPe6awJSNIaMh-4IQd0coD9-3QckCPXjQObNss5fQ/s320/Imagen+005.JPG" width="320" /></span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Luego de haber activado dicha opción, creas nuevamente la tabla dinámica con los mismos campos antes mencionados:</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4yUly3aU4oIoKAZNKwm-ai3zvFoIby3gU4qTwTa0rjfq4X4J02dXkHnepkdM6x3TLKHAChWEbkyzqmRLfs67h82YQ5bLVVhlejM5OVHG6zzzYJO8Ln2j6PPYoIXurhqZ6ktDee1p_7w/s1600/Imagen+003.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="577" data-original-width="851" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4yUly3aU4oIoKAZNKwm-ai3zvFoIby3gU4qTwTa0rjfq4X4J02dXkHnepkdM6x3TLKHAChWEbkyzqmRLfs67h82YQ5bLVVhlejM5OVHG6zzzYJO8Ln2j6PPYoIXurhqZ6ktDee1p_7w/s400/Imagen+003.JPG" width="400" /></span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">Nos devuelve el mismo resultado, sin embargo solo algún número de la columna </span><b><span style="color: red;">Cuenta de Pacientes</span></b><span style="color: #0b5394;">, presionamos </span><b><span style="color: red;">clic derecho</span></b><span style="color: #0b5394;"> y seleccionamos la opción conf</span><b><span style="color: red;">iguración de Campos de Valor.</span></b></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVJs6FLOpaxcMAxL7czNRBPhfLzxupmP9fSwmlOCLL35GCfHQfjOSAhbHoOU8RFJXPP0xEQ1hIYEKiBYxs3DNl-Ylu_gQ-v3o289PIGSSvl4HuoXAXA4evkFdPKCzfa70mD0BgneGTEA/s1600/Imagen+006.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="336" data-original-width="261" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVJs6FLOpaxcMAxL7czNRBPhfLzxupmP9fSwmlOCLL35GCfHQfjOSAhbHoOU8RFJXPP0xEQ1hIYEKiBYxs3DNl-Ylu_gQ-v3o289PIGSSvl4HuoXAXA4evkFdPKCzfa70mD0BgneGTEA/s320/Imagen+006.JPG" width="248" /></span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">En la ventana que aparece selecciono la opción </span><b><span style="color: red;">Recuento distinto</span></b><span style="color: #0b5394;"> y listo, la tabla dinámica me contará solo valores únicos y no repetidos</span></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUk4KYpcDbkirQo79rxNBOFUc6GEXdoPYJ8VNn95vuQafIOTd_AYDWP6nh77y2N3A_aDmHt2aKhSNshKx0Soz4Geqztj4M6YTpUEdRRcV5wkSCDyoWpqa1v5g7L4an-4EVCF21R9uzVA/s1600/Imagen+007.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="320" data-original-width="395" height="259" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUk4KYpcDbkirQo79rxNBOFUc6GEXdoPYJ8VNn95vuQafIOTd_AYDWP6nh77y2N3A_aDmHt2aKhSNshKx0Soz4Geqztj4M6YTpUEdRRcV5wkSCDyoWpqa1v5g7L4an-4EVCF21R9uzVA/s320/Imagen+007.JPG" width="320" /></span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">La tabla dinámica ahora me muestra lo siguiente:</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAQhbboC1E_gUCSAqJtjPygPJGXa6EPGwAxh6oiT2ME412kML3YtAPPeGe3rpDKPT5_2ldu3s94h8uwT94J7p-hZVCQAiPt-gXvK5UWmfOpuLkYyhJChSc56B1tr9AGM290enRqxlPnA/s1600/Imagen+008.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><img border="0" data-original-height="275" data-original-width="528" height="166" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAQhbboC1E_gUCSAqJtjPygPJGXa6EPGwAxh6oiT2ME412kML3YtAPPeGe3rpDKPT5_2ldu3s94h8uwT94J7p-hZVCQAiPt-gXvK5UWmfOpuLkYyhJChSc56B1tr9AGM290enRqxlPnA/s320/Imagen+008.JPG" width="320" /></span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Como pueden observar solo tengo 21 pacientes y no 87 como indicaba la primera tabla dinámica. Y en San José solo tengo 8 pacientes y no 21.</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: justify;"><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Si usted cuenta con la versión 2013 de Excel o superior, la solución es fácil de encontrar pero si cuenta con una versión anterior, entonces si es un poco mas complicado pues requerimos de la generación de una formula un poco compleja.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Para no hacer mas largo esta publicación, el segundo método lo veremos mas adelante.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394;"><span style="font-family: "arial" , "helvetica" , sans-serif;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; line-height: 20.79px; text-align: justify;">
<span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;"><span style="font-family: "arial" , "helvetica" , sans-serif;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394; text-align: start;"></span><span style="text-align: start;"></span></span></div>
<div style="background-color: white; color: #333333; line-height: 20.79px; text-align: justify;">
<div style="text-align: justify;">
<span style="color: #073763;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;"><span style="font-family: "arial" , "helvetica" , sans-serif;">www.expertosenexcelpc.com</span></a></span></div>
<div style="text-align: start;">
<div style="text-align: justify;">
<a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; font-family: Arial, Helvetica, sans-serif; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a></div>
<span style="color: #073763;"></span><br />
<div style="text-align: justify;">
<span style="color: #073763;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; font-family: Arial, Helvetica, sans-serif; text-decoration-line: none;">enrique@expertosenexcelpc.com</a><span style="font-family: "arial" , "helvetica" , sans-serif;"> </span></span></div>
<span style="color: #073763;">
</span></div>
<span style="color: #073763; line-height: 20.79px;"></span><br />
<div style="text-align: justify;">
<span style="color: #073763; line-height: 20.79px;"><b style="text-align: start;"><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank"><span style="font-family: "arial" , "helvetica" , sans-serif;">Síguenos en Facebook</span></a></b></span></div>
<span style="color: #073763; line-height: 20.79px;">
</span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-76528952493014580732018-09-26T05:16:00.002-06:002019-04-09T04:47:57.868-06:00Como abrir varios archivos de forma automática en Excel<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNFqRdj8KWDF4EGhVyv4BDpomNdMgteYXORn_J1Wg1MqfATzrQwrWctSrmQZPQ_1Su9EaeJk5bYpTYHO7bHQJB90VFdJMKZrUJDFVZAYBXWzfx6nkc6DbNa2pc2gz92SGQ4pq3aOj0Sg/s1600/2018_00032.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="178" data-original-width="444" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNFqRdj8KWDF4EGhVyv4BDpomNdMgteYXORn_J1Wg1MqfATzrQwrWctSrmQZPQ_1Su9EaeJk5bYpTYHO7bHQJB90VFdJMKZrUJDFVZAYBXWzfx6nkc6DbNa2pc2gz92SGQ4pq3aOj0Sg/s320/2018_00032.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">En una oportunidad, llegue a visitar un Partner en una empresa a la que desarrollo Herramientas y Reportes desde hace varios años. Y esta persona toda asustada me indicó: "Enrique, mi Excel tiene virus!!!".... Yo con tranquilidad le dije: "Recuerde lo que le dice una gallina a la otra: Busquemos apoyo!!! (a pollo)".</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Le pedí que me explicara el porque de afirmación, y me dijo que cada vez que el abre el Excel, se le abren un monton de archivos y ademas le da muchos mensajes de error que no puede abrir archivos PDF, etc.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"></span></div>
<a name='more'></a><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">En ese momento no sabía como solucionar el problema, así que le pregunte a mi amigo GOOGLE, y en esa oportunidad (además que no tenía tanto tiempo disponible) no me llegó a dar una respuesta completa. Sin embargo, si me dió ciertas luces para poder llegar a la solución, la cual detallaré </span><br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Resulta que debemos entrar de las <b>Opciones de Excel</b> (Menú Archivo - Opciones)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3g5iz7nK0DoL9A0KTuA9fO6BVunSqc40RMZFIfqw2M250O7WxZ8s-grpOQBCd65DWVgKHHBc2VqkyAHQd8YQhwVQT4O9JbAdnwrH6uU7qW3ZzqJIZW2O2HRoS-SRN-JMBJdE3ODVCgg/s1600/2018_00033.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="color: #0b5394;"><img border="0" data-original-height="167" data-original-width="381" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3g5iz7nK0DoL9A0KTuA9fO6BVunSqc40RMZFIfqw2M250O7WxZ8s-grpOQBCd65DWVgKHHBc2VqkyAHQd8YQhwVQT4O9JbAdnwrH6uU7qW3ZzqJIZW2O2HRoS-SRN-JMBJdE3ODVCgg/s1600/2018_00033.PNG" /></span></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuwcU71O9MOSFJbkvxhsQz2sd-z_lps6865ZfGVTUwhZRfqfwLwd1bXp_q1sTEnT56aW2exbllDcGZXoY14FHYCKQhFogyH95xFc3F8LkUgwb5mQ7QeOQ4TZZUGxTi1yPRoqL7-MLgww/s1600/2018_00034.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="color: #0b5394;"><img border="0" data-original-height="157" data-original-width="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuwcU71O9MOSFJbkvxhsQz2sd-z_lps6865ZfGVTUwhZRfqfwLwd1bXp_q1sTEnT56aW2exbllDcGZXoY14FHYCKQhFogyH95xFc3F8LkUgwb5mQ7QeOQ4TZZUGxTi1yPRoqL7-MLgww/s1600/2018_00034.PNG" /></span></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br />Dentro de estas <b>Opciones de Excel</b>, encontramos <b>Avanzadas</b>, y dentro de estas opciones encontramos un grupo que se llama <b>General</b>.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_46p22ndqIh2SHU3WH6vEdDYKFDCeZqZhZ-eOTmnsVbcF6VpBBtl8LzuzUl63jvEDXTbc-VAfb-eUjlQhoOjKFxF5Lvi-pHitODLqeHrOYZnamHw4Pq6O_NT-cEH5zSue_IRt8JdJ0Q/s1600/2018_00035.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="color: #0b5394;"><img border="0" data-original-height="420" data-original-width="681" height="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_46p22ndqIh2SHU3WH6vEdDYKFDCeZqZhZ-eOTmnsVbcF6VpBBtl8LzuzUl63jvEDXTbc-VAfb-eUjlQhoOjKFxF5Lvi-pHitODLqeHrOYZnamHw4Pq6O_NT-cEH5zSue_IRt8JdJ0Q/s400/2018_00035.PNG" width="400" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Y dentro del grupo <b>General</b>, encontramos una opción que indica: "<b>Al inicio, abrir todos los archivos en</b>"</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Si colocamos la dirección de una carpeta en este recuadro, cada vez que ingresemos al Excel se abrirán todos los archivos que estén dentro de esa carpeta.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Hay que tener cuidado, pues si dentro de la carpeta no solamente hay archivos de Excel, sino que tenemos archivos de Word, PDF, o cualquier otro programa. Lo intentará abrir pero desde el Excel generando errores.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Lo que hicimos fue borrar la dirección que había dentro de la casilla y se arregló el asunto, por lo que mi partner quedó mas tranquilo sin su virus.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<br /></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-7112522494549402332018-09-25T16:46:00.002-06:002018-09-25T16:46:27.238-06:0030 trucos buenísimos con la tecla Windows<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2_wlbL3QxF9-Y835GMegz51Lhb3RQ1jEgI0DgNAJKBMXC48j_SytLk_McUzeUW7v_QQPjSOQ_RoGVU7Pntv3Axw09daISlHBemFTQJSEuNQ8JFwIxbKOSZJ2susil3xPwmJy5VOo9Cg/s1600/2018_00031.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="326" data-original-width="810" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2_wlbL3QxF9-Y835GMegz51Lhb3RQ1jEgI0DgNAJKBMXC48j_SytLk_McUzeUW7v_QQPjSOQ_RoGVU7Pntv3Axw09daISlHBemFTQJSEuNQ8JFwIxbKOSZJ2susil3xPwmJy5VOo9Cg/s320/2018_00031.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Probablemente algunos pensaran que hago publicando trucos de Windows en un blog de Excel. Pero sinceramente, es importante también manejar rápidamente el Windows para optimizar nuestro trabajo en Excel o en cualquier otro programa.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Es por eso que quiero compartirles estos trucos que encontré el otro día navegando en internet.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Aunque el uso principal de la <b>tecla Windows</b> sea para abrir la ventana de Inicio, combinado con otras teclas, se pueden realizar muchísimas otras funciones que quizás desconocías. </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Te dejamos esta la lista con los 30 atajos de Windows 10 que se pueden hacer con esta tecla y que, seguramente, agilizarán tus tareas mientras trabajas en el ordenador.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">1. <b>Tecla Windows</b>+<b>Izquierda</b>: ajustar la ventana activa a la mitad izquierda de la pantalla.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">2. <b>Tecla Windows</b>+<b>Derecha</b>: ajustar la ventana activa a la mitad izquierda de la pantalla.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">3. <b>Tecla Windows</b>+<b>Arriba</b>: ajustar la ventana activa hacia arriba.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">4. <b>Tecla Windows</b>+<b>Abajo</b>: ajustar la ventana activa hacia abajo.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">5. <b>Tecla Windows</b>+<b>Q</b>: sirve para realizar busquedas</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">6. <b>Tecla Windows</b>+<b>Shift </b>+ <b>S</b>: te permite capturar la pantalla y luego pegarla en otro programa como Word (Debes utilizar CTRL + V para pegar)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">7. <b>Tecla Windows</b>+<b>I</b>: abre la página de ajustes de Windows 10.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">8. <b>Tecla Windows</b>+<b>A</b>: abre el centro de acciones (o notificaciones) de Windows.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">9. <b>Tecla Windows</b>+<b>X</b>: abre el menú contextual del botón de inicio, el que tiene acceso rápido a funciones como la ventana de la terminal.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">10. <b>Tecla Windows</b>+<b>,</b> : temporalmente esconde todas las aplicaciones para mostrar el escritorio.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">11. <b>Tecla Windows</b>+<b>D</b>: minimizar todas las aplicaciones para ir directamente al escritorio.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">12. <b>Tecla Windows</b>+<b>L</b>: bloquear tu PC e ir a la ventana de bloqueo.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">13. <b>Tecla Windows</b>+<b>E</b>: abrir el explorador de archivos.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">14. <b>Tecla Windows</b>+<b>Shift</b>+<b>Izquierda </b>(o Derecha): mover una ventana a tu siguiente monitor.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">15. <b>Tecla Windows</b>+<b>T</b>: cambiar de aplicación entre las que se encuentran en la barra de tareas (presiona Enter para elegir).</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">16. <b>Tecla Windows</b>+<b>Cualquier tecla numeral</b>: abrir la aplicación de tu barra de tareas ubicada en esa posición. Por ejemplo, el atajo Win+3 abre la tercera aplicación ubicada de izquierda a derecha en la barra de tareas.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">17. <b>Tecla Windows</b>+<b>R</b>: abrir la caja de diálogo Ejecutar.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">18: <b>Tecla Windows</b>+<b>U</b>: abrir el centro de acceso fácil.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">19. <b>Tecla Windows</b>+<b>Espacio</b>: cambiar el idioma del teclado.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">20. <b>Tecla Windows</b>+<b>Ctrl</b>+<b>Shift</b>+<b>cualquier tecla numeral</b>: abrir la aplicación de tu barra de tareas que está en esa posición, pero con permisos de administrador.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">21. <b>Tecla Windows</b>+<b>PrtScr</b>: hacer una captura de pantalla y enviarla directamente a tu carpeta de imágenes.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">22. <b>Tecla Windows</b>+<b>G</b>: abrir la barra de juegos.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">23. <b>Tecla Windows</b>+<b>Alt</b>+<b>G</b>: inicia la grabación de pantalla en la ventana que te encuentras.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">24. <b>Tecla Windows</b>+<b>Alt</b>+<b>R</b>: detener la grabación.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">25. <b>Tecla Windows</b>+<b>P</b>: cambiar de modo de pantalla secundaria (si tienes otro monitor conectado).</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">26. <b>Tecla Windows</b>+<b>tecla de ‘+’</b>: ampliar o acercar la pantalla usando la lupa virtual.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">27. <b>Tecla Windows</b>+<b>tecla de ‘-’</b>: alejar o disminuir la pantalla usando la lupa virtual</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">28. <b>Tecla Windows</b>+<b>K</b>: abrir el menú de Dispositivos.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">29. <b>Tecla de Windows</b>+<b>M</b>: minimizar todas las ventanas.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">30. <b>Tecla Windows</b>+<b>Shift</b>+<b>M</b>: restaurar las ventanas minimizadas con la combinación anterior.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<br /></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><span style="font-size: xx-small;">Tomado desde: https://www.mundodeportivo.com/elotromundo/tecnologia/20170411/421623741299/windows-10-tecla-atajos-teclado.html</span></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-1437964047756537462018-08-20T13:06:00.002-06:002018-08-20T13:06:27.725-06:00¿Cómo contar los saltos de línea en una celda de Excel?<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0EimlUqRhztj9C7dgn_L94Zv4asqwGbPMoyz-2hyphenhypheneH8W73v497HZhrEYGCQchlEEtguNp_VxQ8xQuzGM6UgnERz0-JD3QsMSXea8kPn6MLOgpdqzZWzbLyKIQBnccl5fBE_U3KRrsHQ/s1600/2018_00029.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="371" data-original-width="562" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0EimlUqRhztj9C7dgn_L94Zv4asqwGbPMoyz-2hyphenhypheneH8W73v497HZhrEYGCQchlEEtguNp_VxQ8xQuzGM6UgnERz0-JD3QsMSXea8kPn6MLOgpdqzZWzbLyKIQBnccl5fBE_U3KRrsHQ/s320/2018_00029.PNG" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En este momento estoy haciendo una herramienta de facturación, la cual al generar una factura solo puede contener cierta cantidad de lineas. </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Pero el problema es cuando le dan salto de linea (o Enter) dentro de una celda y se generan 2 lineas o más en una misma celda.</span></div>
<div style="text-align: justify;">
</div>
<a name='more'></a><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Entonces, necesitaba contar la cantidad de saltos de lineas dentro de una celda, y encontré lo siguiente en GOOGLE que todo lo sabe...</span><br />
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Para contar saltos de línea en una celda, puede probar esta fórmula.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Seleccione una celda al lado de la cadena que desea contar saltos de línea, escriba </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #274e13; font-family: Arial, Helvetica, sans-serif;"><b>=LEN(A2)-LEN(SUSTITUTO(A2,CHAR(10),""))</b></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">=LARGO(A2)-LARGO(SUSTITUIR(A2;CARACTER(10);""))</span></b></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Donde:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"> </span><b><span style="color: red;">- </span></b><b><span style="color: red;">CARACTER(10) </span></b><span style="color: #0b5394;">..... Sirve para indicar el salto de linea, el caracter 10 es el Enter </span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> dentro de una celda</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">- </span></b><b><span style="color: red;">SUSTITUIR(A2;CARACTER(10);"")</span></b><span style="color: #0b5394;">...... Sirve para indicar que al texto que esté en la</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"> celda A2, reemplace todos los saltos de línea por</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"> nada, o vacio.</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">- LARGO(A2)</span></b><span style="color: #0b5394;">............. Indica cuantos caracteres tiene la celda A2, los espacios y los saltos</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"> de linea también son contabilizados.</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif; font-weight: bold;">- </span><span style="font-family: Arial, Helvetica, sans-serif; text-align: center;"><span style="color: red;"><b>LARGO(SUSTITUIR(A2;CARACTER(10);""))</b></span><span style="color: #0b5394;">...... Indica cuantos caracteres tiene la celda</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif; text-align: center;"><span style="color: #0b5394;"> A2, después de haber quitado todos los</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif; text-align: center;"><span style="color: #0b5394;"> saltos de linea.</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif; text-align: center;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif; text-align: center;"><span style="color: #0b5394;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRVAbJ69xCXm7j5dksagBuE9J7zi5FuRAUGWchH-eUMRKxQs1qW8jCCSmHUMmgwqxRohDtFh47mtF9DvPvu6wDLSa-mcTMLJJ3hyphenhyphen4wTmAYPd4hCZBATiZpjk4wr2m6LTvyDZvIv-zoGg/s1600/2018_00030.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="236" data-original-width="576" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRVAbJ69xCXm7j5dksagBuE9J7zi5FuRAUGWchH-eUMRKxQs1qW8jCCSmHUMmgwqxRohDtFh47mtF9DvPvu6wDLSa-mcTMLJJ3hyphenhyphen4wTmAYPd4hCZBATiZpjk4wr2m6LTvyDZvIv-zoGg/s1600/2018_00030.PNG" /></a></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif; text-align: center;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b>Cuente los saltos de línea en la celda con VBA</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Aquí hay un código de VBA que también puede contar los saltos de línea en una celda en Excel.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;">1. Presiona </span><b><span style="color: red;">Alt + F11</span></b><span style="color: #0b5394;"> para habilitar Microsoft Visual Basic para aplicaciones ventana.</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">2. Hacer clic en el menú Insertar / Modulo y escriba el siguiente código</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>Public Sub CountLines()</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Dim VLargo As Double</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Dim VLargoSinSaltos As Double</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> With Range("A2")</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">VLargo </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">= Len(.Text)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">VLargoSinSaltos </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">= Len(Replace(.Text, Chr(10), ""))</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> End With</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> MsgBox "Encontramos " & </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">VLargo</span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">- </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">VLargoSinSaltos</span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">& " saltos de línea"</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"></span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>End</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">3. Presiona <b>F5 </b>y aparece un cuadro de diálogo para indicarle el número de saltos de línea.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<br /></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com1tag:blogger.com,1999:blog-6051590586256335738.post-26852769968200065992018-08-07T17:30:00.000-06:002018-08-07T17:30:04.128-06:00¿Cómo validar valores repetidos en Excel? ... Utilizando Validación de datos<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB-NdzzS02XVFOt1CIrvRCmAkBmPYSy6FPSM-lUGk7BjZVaGQ6WgMMuwvfsLuhR360Po-DyAsIy5k-mkW6xQLahZKmCjdTVAVwlRo85opRt8W_nv_ziWQlC37rBxEOclxRwsg1YYMaQQ/s1600/2018_00028.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="314" data-original-width="518" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB-NdzzS02XVFOt1CIrvRCmAkBmPYSy6FPSM-lUGk7BjZVaGQ6WgMMuwvfsLuhR360Po-DyAsIy5k-mkW6xQLahZKmCjdTVAVwlRo85opRt8W_nv_ziWQlC37rBxEOclxRwsg1YYMaQQ/s320/2018_00028.PNG" width="320" /></a></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Muchas veces nos encontramos con tablas que tienen valores repetidos o duplicados. Y la mejor forma de combatirlos es evitar el ingreso de valores duplicados. Por ello, vamos a ver algunas reglas de validación que nos pueden ser muy útiles para evitar valores repetidos.</span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><a name='more'></a><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">El proceso es muy similar al que ya hemos visto antes, solamente hay que cambiar las formulas que se indican a continuación.</span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a href="https://www.blogger.com/null" name="more" style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-decoration-line: none;"></a><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" />
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">La validación de datos permite limitar el tipo de datos que pueden escribirse en una celda. Para ello debemos seleccionar la celda o rango de celda donde deseamos aplicar la validación, para ello vamos a la Cinta de Opciones, Etiqueta Datos, Grupo Herramienta de datos, y seleccionamos Validación de datos</span></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
</div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<br style="font-size: 14.85px; text-align: start;" /></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHAdns31rfPosph263C2lFLDHxpvo5ktA1sxiC5Ov4F1fGTDIUtA33rCo2gDsAA-syyV3zRyTlRBnx_frqsS8mzq2LiK2z480sbmv17X3IwkF-ZitmjK35KRc5CXswm61pgK26aJa0g/s1600/2018_00018.PNG" imageanchor="1" style="color: #004e9f; margin-left: 1em; margin-right: 1em; text-decoration-line: none;"><img border="0" data-original-height="136" data-original-width="660" height="80" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHAdns31rfPosph263C2lFLDHxpvo5ktA1sxiC5Ov4F1fGTDIUtA33rCo2gDsAA-syyV3zRyTlRBnx_frqsS8mzq2LiK2z480sbmv17X3IwkF-ZitmjK35KRc5CXswm61pgK26aJa0g/s400/2018_00018.PNG" style="border: none; position: relative;" width="400" /></a></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Luego en la ventana que nos aparece, hacemos lo siguiente:</span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
</div>
<ul style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;">
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Ir a la etiqueta Configuración.</span></li>
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la opción Permitir, seleccionamos Personalizada.</span></li>
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la casilla de formula, escribimos los casos que indicaremos a continuación (considerando A1).</span></li>
</ul>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<br style="font-size: 14.85px; text-align: start;" /></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHPjzPs8lHcAnXbwz5PZH5FPW92mDokl2bENvkEJwJBDcvSzzxdkOcdULGnAJl15jzjfqZdNTTEohX9IoLn-iQRfROTuYolewIAs_fLidM8tQNZ6SpfDT7ekuY3qs6OratrGC6cvKUw/s1600/2018_00024.PNG" imageanchor="1" style="color: #125ad9; margin-left: 1em; margin-right: 1em; text-decoration-line: none;"><img border="0" data-original-height="327" data-original-width="430" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHPjzPs8lHcAnXbwz5PZH5FPW92mDokl2bENvkEJwJBDcvSzzxdkOcdULGnAJl15jzjfqZdNTTEohX9IoLn-iQRfROTuYolewIAs_fLidM8tQNZ6SpfDT7ekuY3qs6OratrGC6cvKUw/s400/2018_00024.PNG" style="border: none; position: relative;" width="400" /></a></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<br /></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<br /></div>
<div class="separator" style="background-color: white; clear: both; text-align: justify;">
<div class="separator" style="clear: both;">
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>EVITAR REPETIDOS ENTRE CELDAS</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=B1<>A1</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>EVITAR REPETIDOS EN COLUMNA</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=CONTAR.SI($A$2:$A$10;A2)=1</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>EVITAR REPETIDOS EN FILA</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=CONTAR.SI($A$2:$F$2;A2)=1</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>EVITAR REPETIDOS ENTRE COLUMNAS</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=CONTAR.SI($A$2:$A$9;B2)<>1</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>EVITAR REPETIDOS ENTRE COLUMNAS SEGÚN CELDA</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=CONTAR.SI(A2;B2:B9)<>1</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>EVITAR REPETIDOS EN RANGO</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=CONTAR.SI($A$1;$D$9:$A$2)=1</span></div>
<div class="separator" style="clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;">
<br /></div>
<div class="separator" style="clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;">
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="color: #333333; font-size: 14.85px; line-height: 20.79px;">
<br /></div>
<div style="font-size: 14.85px;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="color: #333333; font-size: 14.85px; line-height: 20.79px;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
</div>
</div>
</div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com1tag:blogger.com,1999:blog-6051590586256335738.post-70713638925463935682018-08-04T11:18:00.002-06:002018-08-04T11:18:44.995-06:00¿Cómo validar fechas en Excel? ... Utilizando Validación de datos<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzkLHAmeA2wiPC8v0rSC-zTiqT2AgCYqmwxOHiP5Z9MrTOdTY1cOBSzKnCQJ4uxqVsaEtn3VdBlB4pTGfyoAqiVr5h5HHK6EcnflQF8OXdR6fUeqdmbsM7BDLAeC-bWSzXFxGk3wgBYQ/s1600/2018_00027.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="339" data-original-width="378" height="286" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzkLHAmeA2wiPC8v0rSC-zTiqT2AgCYqmwxOHiP5Z9MrTOdTY1cOBSzKnCQJ4uxqVsaEtn3VdBlB4pTGfyoAqiVr5h5HHK6EcnflQF8OXdR6fUeqdmbsM7BDLAeC-bWSzXFxGk3wgBYQ/s320/2018_00027.PNG" width="320" /></a></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Continuando con la validación de datos ahora colocaré algunas validaciones de datos para fechas en Excel. El proceso es muy similar al que ya hemos visto antes, solamente hay que cambiar las formulas que se indican a continuación.</span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a href="https://www.blogger.com/null" name="more" style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></a><br />
<a name='more'></a><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><br />
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">La validación de datos permite limitar el tipo de datos que pueden escribirse en una celda. Para ello debemos seleccionar la celda o rango de celda donde deseamos aplicar la validación, para ello vamos a la Cinta de Opciones, Etiqueta Datos, Grupo Herramienta de datos, y seleccionamos Validación de datos</span></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
</div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<br style="font-size: 14.85px; text-align: start;" /></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHAdns31rfPosph263C2lFLDHxpvo5ktA1sxiC5Ov4F1fGTDIUtA33rCo2gDsAA-syyV3zRyTlRBnx_frqsS8mzq2LiK2z480sbmv17X3IwkF-ZitmjK35KRc5CXswm61pgK26aJa0g/s1600/2018_00018.PNG" imageanchor="1" style="color: #004e9f; margin-left: 1em; margin-right: 1em; text-decoration-line: none;"><img border="0" data-original-height="136" data-original-width="660" height="80" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHAdns31rfPosph263C2lFLDHxpvo5ktA1sxiC5Ov4F1fGTDIUtA33rCo2gDsAA-syyV3zRyTlRBnx_frqsS8mzq2LiK2z480sbmv17X3IwkF-ZitmjK35KRc5CXswm61pgK26aJa0g/s400/2018_00018.PNG" style="border: none; position: relative;" width="400" /></a></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Luego en la ventana que nos aparece, hacemos lo siguiente:</span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
</div>
<ul style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;">
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Ir a la etiqueta Configuración.</span></li>
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la opción Permitir, seleccionamos Personalizada.</span></li>
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la casilla de formula, escribimos los casos que indicaremos a continuación (considerando A1).</span></li>
</ul>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<br style="font-size: 14.85px; text-align: start;" /></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHPjzPs8lHcAnXbwz5PZH5FPW92mDokl2bENvkEJwJBDcvSzzxdkOcdULGnAJl15jzjfqZdNTTEohX9IoLn-iQRfROTuYolewIAs_fLidM8tQNZ6SpfDT7ekuY3qs6OratrGC6cvKUw/s1600/2018_00024.PNG" imageanchor="1" style="color: #125ad9; margin-left: 1em; margin-right: 1em; text-decoration-line: none;"><img border="0" data-original-height="327" data-original-width="430" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHPjzPs8lHcAnXbwz5PZH5FPW92mDokl2bENvkEJwJBDcvSzzxdkOcdULGnAJl15jzjfqZdNTTEohX9IoLn-iQRfROTuYolewIAs_fLidM8tQNZ6SpfDT7ekuY3qs6OratrGC6cvKUw/s400/2018_00024.PNG" style="border: none; position: relative;" width="400" /></a></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<br /></div>
<div class="separator" style="background-color: white; clear: both; text-align: justify;">
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>LIMITAR LA FECHA AL AÑO ACTUAL</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=AÑO(A1)=AÑO(HOY())</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><u><b>LIMITAR LA FECHA AL MES ACTUAL</b></u></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=MES(A1)=MES(HOY())</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>FECHA QUE NO SEA SÁBADO NI DOMINGO</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=Y(DIASEM(A1;11)<>6;DIASEM(A1;11)<>7)</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><u><b>FECHA DE LUNES A VIERNES</b></u></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=Y(DIASEM(A1)<>1;DIASEM(A1)<>7)</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>ADMITE FECHA DE HOY A 30 DÍAS</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=Y(A1>HOY();A1<=(HOY()+30))</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>VALIDA LA HORA ACTUAL</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=NSHORA(HORA(AHORA());MINUTO(AHORA());0)=A1</span></div>
<div class="separator" style="clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;">
<br /></div>
<div class="separator" style="clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;">
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="color: #333333; font-size: 14.85px; line-height: 20.79px;">
<br /></div>
<div style="font-size: 14.85px;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="color: #333333; font-size: 14.85px; line-height: 20.79px;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
</div>
</div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com3tag:blogger.com,1999:blog-6051590586256335738.post-15426221081503865102018-07-21T05:37:00.000-06:002018-07-21T05:37:12.360-06:00¿Cómo validar números en Excel? ... Utilizando Validación de datos<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWkFD5-LLQhT9OUssr4PmjZnrpw1ikSsPVmDDyH75NKZRJv8zDG7CcuQrqe92mp-twxt0SyGhnBJOCVS9MXq6420PNar6wkh5le9Om1n4L-6V8nYkxLbo2o2a7PxLZkB-OBLDlL99few/s1600/2018_00025.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="326" data-original-width="573" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWkFD5-LLQhT9OUssr4PmjZnrpw1ikSsPVmDDyH75NKZRJv8zDG7CcuQrqe92mp-twxt0SyGhnBJOCVS9MXq6420PNar6wkh5le9Om1n4L-6V8nYkxLbo2o2a7PxLZkB-OBLDlL99few/s400/2018_00025.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Continuando con la publicación anterior, ahora colocaré algunas validaciones de datos para números en Excel. El proceso es muy similar al que ya hemos visto antes, solamente hay que cambiar las formulas que se indican a continuación.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><br />
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">La validación de datos permite limitar el tipo de datos que pueden escribirse en una celda. Para ello debemos seleccionar la celda o rango de celda donde deseamos aplicar la validación, para ello vamos a la Cinta de Opciones, Etiqueta Datos, Grupo Herramienta de datos, y seleccionamos Validación de datos</span></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
</div>
<div style="text-align: justify;">
<br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: start;" /></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHAdns31rfPosph263C2lFLDHxpvo5ktA1sxiC5Ov4F1fGTDIUtA33rCo2gDsAA-syyV3zRyTlRBnx_frqsS8mzq2LiK2z480sbmv17X3IwkF-ZitmjK35KRc5CXswm61pgK26aJa0g/s1600/2018_00018.PNG" imageanchor="1" style="color: #004e9f; margin-left: 1em; margin-right: 1em; text-decoration-line: none;"><img border="0" data-original-height="136" data-original-width="660" height="80" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHAdns31rfPosph263C2lFLDHxpvo5ktA1sxiC5Ov4F1fGTDIUtA33rCo2gDsAA-syyV3zRyTlRBnx_frqsS8mzq2LiK2z480sbmv17X3IwkF-ZitmjK35KRc5CXswm61pgK26aJa0g/s400/2018_00018.PNG" style="border: none; position: relative;" width="400" /></a></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Luego en la ventana que nos aparece, hacemos lo siguiente:</span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
</div>
<ul style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;">
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Ir a la etiqueta Configuración.</span></li>
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la opción Permitir, seleccionamos Personalizada.</span></li>
<li style="border: none; margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la casilla de formula, escribimos los casos que indicaremos a continuación (considerando A1).</span></li>
</ul>
<div style="text-align: justify;">
<br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: start;" /></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHPjzPs8lHcAnXbwz5PZH5FPW92mDokl2bENvkEJwJBDcvSzzxdkOcdULGnAJl15jzjfqZdNTTEohX9IoLn-iQRfROTuYolewIAs_fLidM8tQNZ6SpfDT7ekuY3qs6OratrGC6cvKUw/s1600/2018_00024.PNG" imageanchor="1" style="color: #125ad9; margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="327" data-original-width="430" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHPjzPs8lHcAnXbwz5PZH5FPW92mDokl2bENvkEJwJBDcvSzzxdkOcdULGnAJl15jzjfqZdNTTEohX9IoLn-iQRfROTuYolewIAs_fLidM8tQNZ6SpfDT7ekuY3qs6OratrGC6cvKUw/s400/2018_00024.PNG" style="border: none; position: relative;" width="400" /></a></div>
<div class="separator" style="background-color: white; clear: both; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<br /></div>
<div class="separator" style="background-color: white; clear: both; text-align: justify;">
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir solo números</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=ESNUMERO(A1)</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir solo números pares</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=(RESIDUO(A68;2)=0)</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir números con 3 dígitos o menos</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=Y(LARGO(A1)<=3;ESNUMERO(A1))</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir 3 letras mayúsculas y 3 números</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=Y(LARGO(A1)=6;IGUAL(A1;MAYUSC(A1));ESERROR(VALOR(EXTRAE(A1;1;1)));</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">ESERROR(VALOR(EXTRAE(A1;3;1)));</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">ESERROR(VALOR(EXTRAE(A1;4;3)))=FALSO)=VERDADERO</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir número de 1 a 500, o de 700 a 799</u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=O(Y(A1>=1;A1<=500);Y(A1>700;A1<=799))</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><u><span style="color: red;">Para validar un número porcentaje</span></u></b></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En este caso, en la casilla <b>Permitir </b>seleccionamos <b>Decimal</b>; en <b>Mínimo </b>colocamos un <b>0</b> y en <b>Máximo un 1</b>.</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">0 equivale a 0% y 1 al 100%</span></div>
<div class="separator" style="clear: both;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB-RvJU4UzSnDwzlR-Ryc22Z23OVA-U94lx6TTbfMRqy-ERYHaIsbQbIQfdjd2zZtRi2AYjcn2DtCv1D3gtqr0iX_VuOICyzTtsW-98oOciZ-XtGqfxkgKVs57b8EtJRi3kSG7tekJLA/s1600/2018_00026.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="319" data-original-width="423" height="301" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB-RvJU4UzSnDwzlR-Ryc22Z23OVA-U94lx6TTbfMRqy-ERYHaIsbQbIQfdjd2zZtRi2AYjcn2DtCv1D3gtqr0iX_VuOICyzTtsW-98oOciZ-XtGqfxkgKVs57b8EtJRi3kSG7tekJLA/s400/2018_00026.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;">
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="color: #333333; font-size: 14.85px; line-height: 20.79px;">
<br /></div>
<div style="font-size: 14.85px;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="color: #333333; font-size: 14.85px; line-height: 20.79px;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
</div>
</div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-54998115196965963002018-07-18T18:21:00.000-06:002018-07-18T18:21:12.819-06:00¿Cómo validar textos en Excel? ... Utilizando Validación de datos<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggLMJVSoi2-j7UBBj7zKlKVhsB8YJLvMuiF4vQHIRnfJ0azz1kAJX2uTHNP8AlYl6D9PjQFrX3SdKY1fhFBt57m6VPgb9mif368kGtdooxRW91RL23Aq_0E5kHzAkbS9LxacNoVwNRMQ/s1600/2018_00023.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="201" data-original-width="335" height="192" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggLMJVSoi2-j7UBBj7zKlKVhsB8YJLvMuiF4vQHIRnfJ0azz1kAJX2uTHNP8AlYl6D9PjQFrX3SdKY1fhFBt57m6VPgb9mif368kGtdooxRW91RL23Aq_0E5kHzAkbS9LxacNoVwNRMQ/s320/2018_00023.PNG" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Acabo de encontrar una página con mas de 40 ejemplos de como validar datos en Excel, sin embargo, voy a publicar segmentando estos ejemplos por tipo de datos, es decir por textos, por fechas, etc.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Como diría el dermatólogo: "Vamos directo al grano"</span><br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">La validación de datos permite limitar el tipo de datos que pueden escribirse en una celda. Para ello debemos seleccionar la celda o rango de celda donde deseamos aplicar la validación, para ello vamos a la Cinta de Opciones, Etiqueta Datos, Grupo Herramienta de datos, y seleccionamos Validación de datos</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHAdns31rfPosph263C2lFLDHxpvo5ktA1sxiC5Ov4F1fGTDIUtA33rCo2gDsAA-syyV3zRyTlRBnx_frqsS8mzq2LiK2z480sbmv17X3IwkF-ZitmjK35KRc5CXswm61pgK26aJa0g/s1600/2018_00018.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="136" data-original-width="660" height="80" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEHAdns31rfPosph263C2lFLDHxpvo5ktA1sxiC5Ov4F1fGTDIUtA33rCo2gDsAA-syyV3zRyTlRBnx_frqsS8mzq2LiK2z480sbmv17X3IwkF-ZitmjK35KRc5CXswm61pgK26aJa0g/s400/2018_00018.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Luego en la ventana que nos aparece, hacemos lo siguiente:</span></div>
<div style="text-align: justify;">
</div>
<ul>
<li><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Ir a la etiqueta Configuración.</span></li>
<li><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la opción Permitir, seleccionamos Personalizada.</span></li>
<li><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En la casilla de formula, escribimos los casos que indicaremos a continuación (considerando A1).</span></li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHPjzPs8lHcAnXbwz5PZH5FPW92mDokl2bENvkEJwJBDcvSzzxdkOcdULGnAJl15jzjfqZdNTTEohX9IoLn-iQRfROTuYolewIAs_fLidM8tQNZ6SpfDT7ekuY3qs6OratrGC6cvKUw/s1600/2018_00024.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="327" data-original-width="430" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdHPjzPs8lHcAnXbwz5PZH5FPW92mDokl2bENvkEJwJBDcvSzzxdkOcdULGnAJl15jzjfqZdNTTEohX9IoLn-iQRfROTuYolewIAs_fLidM8tQNZ6SpfDT7ekuY3qs6OratrGC6cvKUw/s400/2018_00024.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<b><u><span style="color: red;"><br /></span></u></b></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir solo texto</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=ESTEXTO (A1)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir solo en texto en mayúscula</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=IGUAL(A1;MAYUSC(A1))</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<b style="color: red; font-family: Arial, Helvetica, sans-serif;"><u>Para escribir solo en texto en minúscula</u></b></div>
<div style="text-align: justify;">
<b style="color: red; font-family: Arial, Helvetica, sans-serif;"><u><br /></u></b></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=IGUAL(A1;MINUSC(A1))</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir la primera letra de cada palabra en mayúscula y el resto en minúscula</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=IGUAL(A1;NOMPROPIO(A1))</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir solo caracteres de la A-Z, a-z.</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=ESNUMERO(SUMAPRODUCTO(HALLAR(EXTRAE(A1;FILA(INDIRECTO(“1:”&</span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">LARGO(A1)));1);”abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ”)))</span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir un texto que comienza con AA-.</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=CONTAR.SI(A1;"aa-*")</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<b style="color: red; font-family: Arial, Helvetica, sans-serif;"><u>Para escribir un texto que comienza con AA-.</u></b><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"> </span><b><span style="color: red;">(MAYÚSCULA).</span></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=IGUAL(IZQUIERDA(A1;3);"AA-")</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<b style="color: red; font-family: Arial, Helvetica, sans-serif;"><u>Para escribir un texto que finaliza con AA-.</u></b></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=IGUAL(DERECHA(A1;3);"AA-")</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir un texto que incluya AA.</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=CONTAR.SI(A1;”*aa*”)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b>Para escribir un texto cuyo 5o caracter es una L.</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=IGUAL(“L”;EXTRAE(C7;5;1)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><u><span style="color: red;">Para evitar espacios en una celda</span></u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=A1=SUSTITUIR(A1;” “;””)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=LARGO(A1)=LARGO(SUSTITUIR(A1;” “;””))</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=A1=ESPACIOS(A1)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para validar una cuenta de E-mail</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=O(ESNUMERO(COINCIDIR(“*@*.???”;A1;0));ESNUMERO(COINCIDIR(“*@*.??”;A1;0)))</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para evitar 2 o más @.</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=SUMA(LARGO(A1)-LARGO(SUSTITUIR(A1;”@”;””)))=1</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Para escribir solo fórmulas</u></b></span></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">=ESFORMULA(A1)</span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<br /><span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<br /></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com1tag:blogger.com,1999:blog-6051590586256335738.post-75829938274250832872018-07-17T07:56:00.002-06:002018-07-17T07:56:15.275-06:00Borrar todas las formas de una hoja de Excel con VBA<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL46uNpTSWXWdw8ZWCNdgc6FkiSzcqGpr1kBqAFuXGuir8gcmSGkY_kqiACS9Ps-1ZeoEQkzpo4V-R0x1NXovJfPZz-pGCudaoaXRINITP5aV25ARm2g_vdTITFTPK0cvCSSfLn6yfbA/s1600/2018_00022.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="262" data-original-width="528" height="158" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL46uNpTSWXWdw8ZWCNdgc6FkiSzcqGpr1kBqAFuXGuir8gcmSGkY_kqiACS9Ps-1ZeoEQkzpo4V-R0x1NXovJfPZz-pGCudaoaXRINITP5aV25ARm2g_vdTITFTPK0cvCSSfLn6yfbA/s320/2018_00022.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Desde hace mas de 10 años, trabajo en una empresa que desarrolla herramientas y reportes para empresas centroamericanas y sudamericanas. </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Sin embargo, usualmente estos reportes deben ser exportados a otras hojas de Excel, las cuales no deben tener ningún botón que tiene la herramienta origen.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Para lograr esto, podemos colocar las siguientes lineas:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>Sub DeleteAllShapes()</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Dim Shp As Shape</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">For Each Shp In ActiveSheet.Shapes</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Shp.Delete</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Next Shp</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>End Sub</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Para eliminar solo AutoShapes y Cuadros de texto puede usar:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>Sub DeleteAllShapes()</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Dim Shp As Shape</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">For Each Shp In ActiveSheet.Shapes</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> If Shp.Type = msoAutoShape Or Shp.Type = msoTextBox Then Shp.Delete</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Next Shp</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>End Sub</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><br style="font-size: 14.85px; text-align: start;" /><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-46370361233797494682018-07-16T08:20:00.005-06:002018-07-16T08:20:36.122-06:00Validación de datos de números múltiplos (Función RESIDUO)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGAxwASAP7pG_s4dQPKnlkAImKEDZdZa9xzeFaAYOo9LNQRefpWF2D0z1UGSTe6-4L4n-MeYAnvrJIav9ecuaMWvLyyKEYsAoHpgpOEVpyJyms5RPM1iOt3WKCKYUgyIsRSpDbloM7wg/s1600/2018_00015.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="324" data-original-width="426" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGAxwASAP7pG_s4dQPKnlkAImKEDZdZa9xzeFaAYOo9LNQRefpWF2D0z1UGSTe6-4L4n-MeYAnvrJIav9ecuaMWvLyyKEYsAoHpgpOEVpyJyms5RPM1iOt3WKCKYUgyIsRSpDbloM7wg/s320/2018_00015.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En una oportunidad, me preguntaron como validar una columna , para que solo permita el ingreso de números múltiplos de otros. </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">El ejemplo que me mostraron fue una tabla con productos, los cuales tenían un número de unidades de presentación, y solo se podían vender cantidades que sean múltiplos de estas unidades.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En ese momento, no tuve la mas mínima idea de como realizarlo, pero buscando en Google me encontré con la función RESIDUO, que es buenísima, espectacular y precisa para este tipo de casos.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;">Antes de entrar a explicarles la formula que utilice en Validación de datos, voy a explicarles la </span><b><span style="color: red;">función RESIDUO</span></b><span style="color: #0b5394;"> </span><span style="color: #38761d;">(MOD if you speak English)</span><span style="color: #0b5394;">, así que como diría el dermatólogo...."Vamos directo al grano....!!!"</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><u><span style="color: red;">FUNCIÓN RESIDUO </span></u></b><span style="color: #38761d;">(FUNCTION MOD)</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;">El residuo es el sobrante de una división inexacta. La </span><b><span style="color: red;">función RESIDUO</span></b><span style="color: #0b5394;"> en Excel nos ayuda a obtener el sobrante (residuo) que haya resultado de la división de dos números.</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Sintaxis de la función RESIDUO</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;">La sintaxis de la </span><b><span style="color: red;">función RESIDUO</span></b><span style="color: #0b5394;"> es la siguiente:</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6icExUHG0sn4u9miIpDtvATy2GqZOxLc5VxhR7UjOfC22p1LDF_8rL0XQuK-CcYjfkzXla3GLG5Et0Lfvh_Ow7vuu2UIQtpJkHHLyVVhOCiVqX4zJ9Q7Y4LiKM44209lBh2yLTwR-NQ/s1600/2018_00019.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="283" data-original-width="614" height="183" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6icExUHG0sn4u9miIpDtvATy2GqZOxLc5VxhR7UjOfC22p1LDF_8rL0XQuK-CcYjfkzXla3GLG5Et0Lfvh_Ow7vuu2UIQtpJkHHLyVVhOCiVqX4zJ9Q7Y4LiKM44209lBh2yLTwR-NQ/s400/2018_00019.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;">+ Número (obligatorio):</span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Número que será dividido. También conocido como dividendo.</span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;">+ Núm_divisor (obligatorio): </span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Número por el cual se sea hacer la división.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Si la división entre Número y Núm_divisor no es exacta tendremos un residuo diferente a cero.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Ejemplos de la función RESIDUO</u></b></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u><br /></u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">RESIDUO(21, 5) = 1</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">RESIDUO(23, 5) = 3</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">RESIDUO(25, 5) = 0</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;">Si el resultado de la </span><b><span style="color: red;">función RESIDUO</span></b><span style="color: #0b5394;"> es cero será un indicador de que tenemos una división exacta y por lo tanto tenemos un número que es divisible.</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>VALIDACIÖN DE MÚLTIPLOS</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;">Ahora bien, entendida la </span><b><span style="color: red;">FUNCION RESIDUO</span></b><span style="color: #0b5394;">, vamos a realizar el siguiente ejemplo:</span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Tenemos la siguiente tabla:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj8hswcs1toPb8RlQsT7kXxjob5WDa9cq-RVUiOCPsbwtq8YVGfHbnKuSj0Uq6bXu9fLFrGMLGtARJxMmpkTjuLpdOeD-ChbBAHi-704u5PL_LF6LtlJ3bePLzMSmzNPDO7sj1XnzhgA/s1600/2018_00017.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="253" data-original-width="302" height="268" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj8hswcs1toPb8RlQsT7kXxjob5WDa9cq-RVUiOCPsbwtq8YVGfHbnKuSj0Uq6bXu9fLFrGMLGtARJxMmpkTjuLpdOeD-ChbBAHi-704u5PL_LF6LtlJ3bePLzMSmzNPDO7sj1XnzhgA/s320/2018_00017.PNG" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Y en la <b>columna C</b> solo se pueden ingresar valores que sean múltiplos de las cantidades escritas en la <b>columna B</b>, por lo tanto</span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> marcamos en este caso de<b> C2 hasta C7</b> y entramos a <b>Validación de datos</b> (Etiqueta Datos, grupo Herramienta de Datos, Validación de datos)</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfheQLPegXYflOEKfBndRiI_WBAzV4WkNUcUCjrwj9CuJY_RaEbpSOqE_QQLoKjsAjByFdCxhjS5Mtcn07r_tKGbo9hCYTUrLHnwRXYAHnLoChJpSq9okMRsb1lCSjQASONeSmBHYRYw/s1600/2018_00018.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="136" data-original-width="660" height="81" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfheQLPegXYflOEKfBndRiI_WBAzV4WkNUcUCjrwj9CuJY_RaEbpSOqE_QQLoKjsAjByFdCxhjS5Mtcn07r_tKGbo9hCYTUrLHnwRXYAHnLoChJpSq9okMRsb1lCSjQASONeSmBHYRYw/s400/2018_00018.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Estando en la ventana de <b>Validación de datos</b>, seleccionamos <b>Personalizada </b>y escribimos la siguiente formula:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b><span style="font-size: large;">=(RESIDUO(C2;B2)=0)</span></b></span></div>
<div style="text-align: center;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnMKogGtd23XFkPGdxLRUv112X15ZiUyLYjQhSXefSdH0_asl6qSK14jejSFS_3eMFXw0aFNLkhE0woW59M_6d5DLm_QAOP-Dp0hywRT6aThzMRnMKYjsHyeihWjhcKuqt7JkmmTzJbQ/s1600/2018_00015.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="324" data-original-width="426" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnMKogGtd23XFkPGdxLRUv112X15ZiUyLYjQhSXefSdH0_asl6qSK14jejSFS_3eMFXw0aFNLkhE0woW59M_6d5DLm_QAOP-Dp0hywRT6aThzMRnMKYjsHyeihWjhcKuqt7JkmmTzJbQ/s400/2018_00015.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Luego hacemos Clic en <b>Aceptar</b> y al ingresar valores en la <b>columna C</b>, solo permitirá valores númericos múltiplos de los valores de la <b>columna B</b>. </span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Por ejemplo, si en </span><b style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">C2</b><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> escribo un </span><b style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">15 </b><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">(</span><span style="color: #38761d; font-family: Arial, Helvetica, sans-serif;">este no es múltiplo de 10</span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">) me da el siguiente mensaje:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAQCQJSXmLNa0qsq1vKBLfrfj52jRJmPUT7wnFv9q0hg2BXTSiVymBS2rK4wCd4V_HdHnaxN-vT7K8FZzNWtc9ig0C2JTgxo4P3S5SfZWwmjTDdPkN2wvhC4Mn0opj7LFWgtV6BJGozA/s1600/2018_00020.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="264" data-original-width="726" height="145" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAQCQJSXmLNa0qsq1vKBLfrfj52jRJmPUT7wnFv9q0hg2BXTSiVymBS2rK4wCd4V_HdHnaxN-vT7K8FZzNWtc9ig0C2JTgxo4P3S5SfZWwmjTDdPkN2wvhC4Mn0opj7LFWgtV6BJGozA/s400/2018_00020.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Ahora la <b>columna C</b> solo permitirá el ingreso de números múltiplos de la <b>columna B</b>, como vemos a continuación:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgEOagrJg6JKAj8SI_2vnL4254aB004B-n1GqeRPGydvf9SLF6UYqK3Wh9WdcdpCR8RUuTLyHFlIffe3hcEx6JCLBxmY3zgFEHdutQ0sqp5jDdzVAXU_YNSSKBs3HygzZr2kkjyVO3cw/s1600/2018_00021.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="262" data-original-width="440" height="237" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgEOagrJg6JKAj8SI_2vnL4254aB004B-n1GqeRPGydvf9SLF6UYqK3Wh9WdcdpCR8RUuTLyHFlIffe3hcEx6JCLBxmY3zgFEHdutQ0sqp5jDdzVAXU_YNSSKBs3HygzZr2kkjyVO3cw/s400/2018_00021.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><br style="font-size: 14.85px; text-align: start;" /><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="font-size: 14.85px; text-align: start;"></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com1tag:blogger.com,1999:blog-6051590586256335738.post-88581985664903938702018-07-13T15:26:00.001-06:002018-07-13T15:26:22.777-06:00Valores vacíos y cero en gráficos de Excel<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlRELG4IBtUjtMLsL76dcqnBO98g4F7hS_6RjPs1-4qisVhka1OsR8EVZFuJVQNqoPojrGY_qmvL3KCPMC_CDR_kmmm50VTRYWSVuUcqg2nucb1bsOdxG9_R8aEI6IeT6XJ1s_jVPelQ/s1600/2018_00009.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="228" data-original-width="364" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlRELG4IBtUjtMLsL76dcqnBO98g4F7hS_6RjPs1-4qisVhka1OsR8EVZFuJVQNqoPojrGY_qmvL3KCPMC_CDR_kmmm50VTRYWSVuUcqg2nucb1bsOdxG9_R8aEI6IeT6XJ1s_jVPelQ/s320/2018_00009.PNG" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Hace algunos días, un cliente me pregunto si era posible en un gráfico obviar los valores vacíos o ceros para que el gráfico no se visualice como vemos en la imagen superior.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En ese momento, utilice la primera regla del buen capacitador, le respondí: "No tengo ni la mas mínima idea", pero inmediatamente utilice la segunda regla "Voy a averiguarlo."</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Luego le pregunte a mi amigo GOOGLE y encontré la solución esperada</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Vamos a poner un caso muy sencillo, tenemos la siguiente tabla:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfDrZaxUfIIVvpj0CYbaNzUsL7igR7yS-Vxfl5weZGDltH7jrp2PFwZeclWdNyKRtkGjwnBajCGtCjH17hokKrYnwfoItCvbo8AIx6-jZvNTG5Q3MmS4RGdZSDl-OYQXcfSTUq7fx2mQ/s1600/2018_00010.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="274" data-original-width="516" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfDrZaxUfIIVvpj0CYbaNzUsL7igR7yS-Vxfl5weZGDltH7jrp2PFwZeclWdNyKRtkGjwnBajCGtCjH17hokKrYnwfoItCvbo8AIx6-jZvNTG5Q3MmS4RGdZSDl-OYQXcfSTUq7fx2mQ/s400/2018_00010.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Como podemos apreciar, la linea del gráfico es discontinua.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Para que el Excel, pueda convertir la linea de forma continua, vamos a seleccionar el borde del gráfico, y nos aparecerá dos etiquetas: una Diseño y otra de Formato.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiExiUTAkuKI7BkcDN-g3-yBaiLLTqoJKgKFCh-XA5DS_K5LAXnJnCzKX3sHAtLSNOdbipF9uQTWEl7SinQlC7NOyJo2rODaiYmwTVG10B5MOb-roASIg8UEt0bGi8-RE1o1u0566JAbg/s1600/2018_00011.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="170" data-original-width="557" height="121" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiExiUTAkuKI7BkcDN-g3-yBaiLLTqoJKgKFCh-XA5DS_K5LAXnJnCzKX3sHAtLSNOdbipF9uQTWEl7SinQlC7NOyJo2rODaiYmwTVG10B5MOb-roASIg8UEt0bGi8-RE1o1u0566JAbg/s400/2018_00011.PNG" width="400" /></a></div>
<br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Presionamos la opción Seleccionar datos y nos aparecerá la siguiente ventana:</span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1_qm6mm9asyivAbrlzWT_GnljB8IkkLXX7B-LwGudO1ldSbHLLjY0-NbBZC1NS9NDhO9dHkT-8doBwquW6gwDFA4YvTwG0pty3VVjCu-ImG31dFY4barm-ogbbSUc49NvAv8GSsuhmA/s1600/2018_00012.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="332" data-original-width="601" height="220" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1_qm6mm9asyivAbrlzWT_GnljB8IkkLXX7B-LwGudO1ldSbHLLjY0-NbBZC1NS9NDhO9dHkT-8doBwquW6gwDFA4YvTwG0pty3VVjCu-ImG31dFY4barm-ogbbSUc49NvAv8GSsuhmA/s400/2018_00012.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Ahora hacemos clic en el botón de Celdas ocultas y vacias.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxHc4X_1pEUh3rAr4J_xqumOe4fxR35usW3IB0u07b5dBzXjW-L9nVTteNv9ERIwR6UIaw9FYHMIvDuvqGXp6ZbNX1AG5mO626ewQnk3h5KegGk7KztQ4qeB7Ji7Mjg7WZE8hOYSLC4Q/s1600/2018_00013.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="170" data-original-width="379" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxHc4X_1pEUh3rAr4J_xqumOe4fxR35usW3IB0u07b5dBzXjW-L9nVTteNv9ERIwR6UIaw9FYHMIvDuvqGXp6ZbNX1AG5mO626ewQnk3h5KegGk7KztQ4qeB7Ji7Mjg7WZE8hOYSLC4Q/s400/2018_00013.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Seleccionamos la opción Conectar puntos de datos con línea.....Y LISTO!!!!</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH4A02XylC5F6Oou71gswuQHlf20oPcVR0INopF83Bf1bIGoIbIzL87d72Nspp0-Bryat4zeVx5nDZ_CUruNHU3jwHHcKeMNU9tF1NQgJXqMnIZXrZSi4VuLgMG0-YI7rAcVHVUzsmAw/s1600/2018_00014.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="275" data-original-width="516" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH4A02XylC5F6Oou71gswuQHlf20oPcVR0INopF83Bf1bIGoIbIzL87d72Nspp0-Bryat4zeVx5nDZ_CUruNHU3jwHHcKeMNU9tF1NQgJXqMnIZXrZSi4VuLgMG0-YI7rAcVHVUzsmAw/s400/2018_00014.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="text-align: justify;">
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: start;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px; text-align: start;"></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; text-align: start;"></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-53834807761569354102018-07-12T08:05:00.000-06:002018-07-12T08:05:01.369-06:00Ocultar la cinta de opciones (Ribbons) en Excel con VBA<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4FyfX5iptgGo8nz4BNwLc55qeyWOf_DdTBurRh0yrVG_zacZAxF-ylZ4AYKJx1T0HeNltxPm0XF5EmGxUAaybGNyTNo6xAy3N2YKJKju-cnqPRZs0l6SzLEzvfS2RGHpi4Vjny4EBPA/s1600/2018_00008.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="139" data-original-width="569" height="97" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4FyfX5iptgGo8nz4BNwLc55qeyWOf_DdTBurRh0yrVG_zacZAxF-ylZ4AYKJx1T0HeNltxPm0XF5EmGxUAaybGNyTNo6xAy3N2YKJKju-cnqPRZs0l6SzLEzvfS2RGHpi4Vjny4EBPA/s400/2018_00008.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;">Continuando con la mejora de nuestras macros en Excel, lo ideal sería que el usuario no pueda cambiar ninguna operación de las que ya Excel tiene de forma predeterminada.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;">Una opción muy sencilla, es ocultar la Cinta de Opciones (Ribbons if you speak English... Yo hablo, leo y escribo en ingles, pero no entiendo nada, jajaja)</span></div>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><a href="https://www.blogger.com/null" name="more" style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></a><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"></span>
<a name='more'></a><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #4b4b4b; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><span style="color: #0b5394;">Para ello ingresamos al Visual Basic </span><b><span style="color: red;">(presionando ALT + F11)</span></b><span style="color: #0b5394;">, ingresamos un módulo</span><b><span style="color: red;">(menú insertar - Modulo)</span></b><span style="color: #0b5394;"> y colocamos el siguiente código:</span></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br style="margin: 0px; padding: 0px;" /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><span style="background-color: white; color: #38761d; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;">'Cuando abra el archivo automáticamente oculte la cinta de opciones</span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><b>Sub Auto_Open() </b></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span><span style="background-color: white;"></span><span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white;">ExecuteExcel4Macro ("show.toolbar(""ribbon"",0)")</span></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><b>End Sub </b></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br style="margin: 0px; padding: 0px;" /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><span style="background-color: white; color: #38761d; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;">'Cuando cierre el archivo automáticamente muestre la cinta de opciones</span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><br />
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><b>Sub Auto_Close() </b></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"> </span><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;">ExecuteExcel4Macro ("show.toolbar(""ribbon"",1)")</span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><b>End Sub </b></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"><br /></span><span style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;"></span><br />
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"></span><br style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px;" /><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif; font-size: 14.85px;"></span>
<div style="-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 20.79px; orphans: 2; text-align: justify; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com3tag:blogger.com,1999:blog-6051590586256335738.post-87219070826768368072018-07-11T05:47:00.001-06:002018-07-11T05:47:35.156-06:00Ocultar barra de fórmulas con VBA en Excel<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicyrlLtoydrlLf7dvBqTXMZG1tBmMbU3l7D3k2U1JC9GaHaUKhki2CYKgiqahqzhih52wmH9u4xIaWpluuksCHVV-IKGb6CI3fgDl27Wm1oFztHDhCDgNagbOzMYDSEcfy-1eYWYgYJw/s1600/2018_00007.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="274" data-original-width="377" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicyrlLtoydrlLf7dvBqTXMZG1tBmMbU3l7D3k2U1JC9GaHaUKhki2CYKgiqahqzhih52wmH9u4xIaWpluuksCHVV-IKGb6CI3fgDl27Wm1oFztHDhCDgNagbOzMYDSEcfy-1eYWYgYJw/s320/2018_00007.PNG" width="320" /></a></div>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;">En ocasiones, con la intención de realizar macros mas elaboradas, requerimos ocultar la barra de formulas, para que el usuario final no pueda ver las formulas, o simplemente para que la visualización de la macro sea menos parecida el Excel.</span><br />
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span><br />
<a name='more'></a><span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"><span style="color: #0b5394;">Para ello ingresamos al Visual Basic </span><b><span style="color: red;">(presionando ALT + F11)</span></b><span style="color: #0b5394;">, ingresamos un módulo </span><b><span style="color: red;">(menú insertar - Modulo)</span></b><span style="color: #0b5394;"> y colocamos el siguiente código:</span></span></span><br />
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br style="background-color: white; margin: 0px; padding: 0px;" /></span>
<span style="color: #38761d; font-family: Arial, Helvetica, sans-serif;">'Cuando abra el archivo automáticamente oculte la barra de formulas</span><br />
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>Sub Auto_Open() </b></span><br />
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Application.DisplayFormulaBar = False </span><br />
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>End Sub </b></span><br />
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br style="background-color: white; margin: 0px; padding: 0px;" /></span>
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="color: #38761d; font-family: Arial, Helvetica, sans-serif;">'Cuando cierre el archivo automáticamente oculte la barra de formulas</span><br />
<div>
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>Sub Auto_Close() </b></span><br />
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Application.DisplayFormulaBar = True </span><br />
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b>End Sub </b></span><br />
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span><br />
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
<span style="background-color: white; color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span>Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com4tag:blogger.com,1999:blog-6051590586256335738.post-11477433737665535222018-07-10T07:18:00.003-06:002018-07-11T05:47:49.935-06:00Cómo cerrar Excel desde una macro<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh9RB5rDCgAm8gGfuEK0UnpFO28dY4DtodrE8BgofAw4hYqFskYNvrYIz6EIB81KkZM8RjjBqkn4rF7hrg0gKG9jJ9TcOaQWHZPa3QS8lWva-aPvtkZOhyphenhyphenMTFUFr0qha5GT5Kp7vJDJw/s1600/2018_00006.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="187" data-original-width="189" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh9RB5rDCgAm8gGfuEK0UnpFO28dY4DtodrE8BgofAw4hYqFskYNvrYIz6EIB81KkZM8RjjBqkn4rF7hrg0gKG9jJ9TcOaQWHZPa3QS8lWva-aPvtkZOhyphenhyphenMTFUFr0qha5GT5Kp7vJDJw/s1600/2018_00006.PNG" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Hay ocasiones en las que necesitamos cerrar Excel con una macro, ya sea como consecuencia de pulsar el botón de un formulario, o porque has creado una macro que realiza algún procedimiento desatendido y necesitas dejar cerrado Excel después de la ejecución.</span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"></span></div>
<a name='more'></a><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u>El método Application.Quit</u></b></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u><br /></u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">La instrucción VBA que nos permitirá cerrar Excel es el método Quit del objeto Application. Para probar esta instrucción puedes insertar un botón ActiveX en la hoja y hacer doble clic para insertar el siguiente código:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394; margin-left: 1em; margin-right: 1em;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo_dH9VOY40pfS6PAMDEqu-7XRJ54TTeBBWzwZgHl1ozs06naP1vWMol2_gGQyOnKbIlgTb53J9uF4qDpOBnPP8tuz-otd0Bb1_WXjj5vFmcnLhl1SFxz1NGsYVNT49BElzmIsesBBhw/s1600/2018_00001.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="65" data-original-width="346" height="75" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo_dH9VOY40pfS6PAMDEqu-7XRJ54TTeBBWzwZgHl1ozs06naP1vWMol2_gGQyOnKbIlgTb53J9uF4qDpOBnPP8tuz-otd0Bb1_WXjj5vFmcnLhl1SFxz1NGsYVNT49BElzmIsesBBhw/s400/2018_00001.JPG" width="400" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: #0b5394;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Esta instrucción será suficiente para cerrar Excel automáticamente siempre y cuando no hayan existido cambios en el archivo de lo contrario Excel mostrará una notificación preguntando si deseamos guardar los cambios.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-yf-yTXcxupyQrBY5FdMSFdmt_WFOowp-FP5Au1M8fwBRWmOY3E_NvIIFpQSWbruW5YZTCoB84x05EkXvpar_f-20H9qTIk2oY9ifEefHbaSNyLfOanT9CXZzWo5PwZUOK1J-9f_7EQ/s1600/2018_00002.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="133" data-original-width="376" height="141" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-yf-yTXcxupyQrBY5FdMSFdmt_WFOowp-FP5Au1M8fwBRWmOY3E_NvIIFpQSWbruW5YZTCoB84x05EkXvpar_f-20H9qTIk2oY9ifEefHbaSNyLfOanT9CXZzWo5PwZUOK1J-9f_7EQ/s400/2018_00002.JPG" width="400" /></a></div>
<h2 style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><u>Macro para cerrar Excel sin notificaciones</u></span></h2>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">Si no te interesan los cambios realizados al libro y solamente deseas </span><strong style="color: #0b5394;">cerrar Excel desde una macro</strong><span style="color: #0b5394;">, entonces puedes ignorar las notificaciones utilizando la propiedad </span><span style="color: red;"><em>DisplayAlerts</em> </span><span style="color: #0b5394;">de la siguiente manera:</span></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzQxeVnBWLuUrAfkrUoXE6mUs-hL69jR9lL2AFSR2Qh8FMEVOjU9PGRZ5wFx1MdJ7329I7TLqTzH9jhsETfg_ll8N8lh-b4xHPuELhSqyA1xOoqwMzegR6CWOD2dRziSzygNmA5TbQwQ/s1600/2018_00003.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="79" data-original-width="328" height="77" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzQxeVnBWLuUrAfkrUoXE6mUs-hL69jR9lL2AFSR2Qh8FMEVOjU9PGRZ5wFx1MdJ7329I7TLqTzH9jhsETfg_ll8N8lh-b4xHPuELhSqyA1xOoqwMzegR6CWOD2dRziSzygNmA5TbQwQ/s320/2018_00003.JPG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Este método es útil cuando la macro manipula información de las hojas de Excel pero no nos interesa guardar las modificaciones realizadas, tal vez porque el resultado final se guarda en un archivo de texto o porque simplemente se imprime el resultado.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u>Guardar el libro activo y cerrar Excel</u></b></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u><br /></u></b></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Si por el contrario, si deseas guardar los cambios hechos al libro antes de cerrar Excel, entonces puedes utilizar la siguiente instrucción:</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQLw_hm5uejfsJbi5KKk9mHB6uQwX8hD1H-xfkjMdgFWI5JMyr1ivaKocerKQ4ZpjxPdyXFCq6GWFu4YHHCEtNlrwwbOjC22EX_x_GFOU0fH5eFdlMVLxNAIl3oW2m04B1Cug1ZhYdjQ/s1600/2018_00004.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="76" data-original-width="336" height="90" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQLw_hm5uejfsJbi5KKk9mHB6uQwX8hD1H-xfkjMdgFWI5JMyr1ivaKocerKQ4ZpjxPdyXFCq6GWFu4YHHCEtNlrwwbOjC22EX_x_GFOU0fH5eFdlMVLxNAIl3oW2m04B1Cug1ZhYdjQ/s400/2018_00004.JPG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Al utilizar el método Save del objeto ActiveWorkbook guardaremos cualquier cambio en el libro activo y posteriormente cerraremos Excel.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u>Guardar los libros abiertos y cerrar Excel</u></b></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u><br /></u></b></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">El código de la sección anterior solamente considera guardar los cambios del libro activo, pero hay ocasiones en las que se han abierto varios libros y aun así necesitamos crear una macro para cerrar Excel. Una alternativa es guardar los cambios de todos los libros abiertos con el siguiente código:</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSdMCTsR4BeKQG95AjN4SFSfHekuqD8MNVup8nfwvACf4yZ6XMgzDOBKVnyDFR4I5ZDn4SsjOEpZJxUhWkgh8HroDDfn6fuMBfRdoQDcvCliIjCq9rLwjsIVsunu6_h5AQu6v_1uj9pA/s1600/2018_00005.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="118" data-original-width="346" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSdMCTsR4BeKQG95AjN4SFSfHekuqD8MNVup8nfwvACf4yZ6XMgzDOBKVnyDFR4I5ZDn4SsjOEpZJxUhWkgh8HroDDfn6fuMBfRdoQDcvCliIjCq9rLwjsIVsunu6_h5AQu6v_1uj9pA/s400/2018_00005.JPG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Si se han creado nuevos libros de Excel antes de ejecutar la macro y nunca han sido guardados previamente, entonces la macro los guardará de manera predeterminada en la carpeta Documentos.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration-line: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration-line: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration-line: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration-line: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif; font-size: x-small;">P.D: Tomado de la página https://exceltotal.com/como-cerrar-excel-desde-una-macro/</span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-32566167152373275362017-01-20T09:37:00.000-06:002017-01-20T09:42:41.653-06:00Calcular el inicio y fin de un mes: Función FECHA y FIN.MES<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwvTKlCxdRaStkcxX5aoIbpAemYk8B7whrSRKP2SY257YNjwrdNvVWownJNsu6uoMhwLRvUar2XvEsm-z9xzyTz_-A-j1own93HayZC3k-O-f2I8shyGs1BQK5d131-fILOcUbeSfPw/s1600/imagen_110.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwvTKlCxdRaStkcxX5aoIbpAemYk8B7whrSRKP2SY257YNjwrdNvVWownJNsu6uoMhwLRvUar2XvEsm-z9xzyTz_-A-j1own93HayZC3k-O-f2I8shyGs1BQK5d131-fILOcUbeSfPw/s320/imagen_110.jpg" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Frecuentemente necesitamos calcular el último día del mes en Excel, ya sea para calcular los días restantes o para tomar esa fecha como base para algún cálculo. En esta ocasión mostraré dos métodos para obtener dicha fecha.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"></span></div>
<a name='more'></a><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<br />
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u>La función FECHA</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">El primer método es utilizando la función FECHA la cual permite obtener el número de serie de una fecha determinada. Supongamos que tenemos la fecha 19 de Julio de 2017 y queremos saber el último día del mes. Podemos utilizar la función de la siguiente manera:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: center;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b>=FECHA(2017, 7 + 1, 0)</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Pon especial atención al segundo parámetro de la función que indica el mes. <b>Julio </b>es el mes <b>7</b> y es por eso que observas el número 7, pero estoy sumando 1 mes adicional lo cual daría el mes <b>8 (Agosto)</b>. La razón de sumar 1 es porque en el tercer parámetro colocaré el valor <b>0 (cero)</b> y lo explico a continuación.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">Al especificar el día cero del mes ocho estaré pidiendo a Excel la fecha 0 de Agosto del 2017, lo cual identificará de inmediato como una fecha inválida, pero en lugar de indicar un error Excel interpreta el día cero como el día anterior al </span><b><span style="color: red;">1 de Agosto del 2017</span></b><span style="color: #0b5394;"> y por lo tanto me dará como resultado el <b>último día del mes de Julio</b> que es el mes anterior.</span></span></div>
<div style="text-align: justify;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUawrRZIcQwmgOwj1_h1ZAycAKDoHeo7E0cnAQuLwoiKmvHEVvLU4akWZ-s0YHDkQ-YIyTQCDZAvSF947D7zO5b2IFrfDJshzzUCJzhbmd5vp6oaSsurA_krQSAoG1ZKW55g1HqimB6w/s1600/Imagen_007.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUawrRZIcQwmgOwj1_h1ZAycAKDoHeo7E0cnAQuLwoiKmvHEVvLU4akWZ-s0YHDkQ-YIyTQCDZAvSF947D7zO5b2IFrfDJshzzUCJzhbmd5vp6oaSsurA_krQSAoG1ZKW55g1HqimB6w/s1600/Imagen_007.PNG" /></a></div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: justify;">
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><b><u><span style="color: red;">La función FIN.MES</span></u></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">El segundo método es mucho más directo que el anterior ya que la función FIN.MES ha sido diseñada específicamente para este fin. Para obtener el último día del mes de una fecha especificada podemos utilizar la función FIN.MES de la siguiente manera:</span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><br /></b></span></div>
<div style="text-align: center;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b>=FIN.MES(FECHA(2011,7,19), 0)</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">El primer parámetro de la función FIN.MES es una fecha por lo que vuelvo a utilizar la función FECHA para obtener el valor adecuado a partir del número de año, mes y día. El segundo parámetro es el número de meses que deseas añadir a la fecha especificada. El resultado es el siguiente.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: justify;">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBfqtp0Wxak8bMv1lQOKx-Kz_9npQLxfVjwnyn_yc7i8ZzwPi1DonffItqxOv3AjZ0bZhwR3hRd-SKiwjJ0doqXNPR3gxsPEEuZHOE_ahzENTc__wUPOfnaeod0Yu6JuPF_G_tr45EuA/s1600/Imagen_008.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBfqtp0Wxak8bMv1lQOKx-Kz_9npQLxfVjwnyn_yc7i8ZzwPi1DonffItqxOv3AjZ0bZhwR3hRd-SKiwjJ0doqXNPR3gxsPEEuZHOE_ahzENTc__wUPOfnaeod0Yu6JuPF_G_tr45EuA/s1600/Imagen_008.PNG" /></a></div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Recuerda que la función devuelve el número de serie de la fecha y Excel no da el formato adecuado de manera predeterminada por lo que necesitarás dar explícitamente el formato de fecha a la celda.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-6760305954817739142017-01-20T09:11:00.002-06:002017-01-20T09:11:49.595-06:00Concatenar salto de línea en Excel<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXgs1xMidubGvcDp1UOsM93XTM4vxabjnaau_l7NHcCRVAz3hDHsBc7z8lt0AkBqE6fC6haMhZpUaECYLyGeMpZUv6eVn2teJT6W6Fta2RFGOjhqbKClrTJsK9eLHqaU1iqFx_7h6eZQ/s1600/Imagen_002.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXgs1xMidubGvcDp1UOsM93XTM4vxabjnaau_l7NHcCRVAz3hDHsBc7z8lt0AkBqE6fC6haMhZpUaECYLyGeMpZUv6eVn2teJT6W6Fta2RFGOjhqbKClrTJsK9eLHqaU1iqFx_7h6eZQ/s1600/Imagen_002.jpg" /></a></div>
<br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Feliz Año 2017!!!! Disculpen que recién los salude, (ya casi termina Enero) pero no he podido entrar a publicar desde hace ya mucho tiempo. Sin embargo, tengo varios trucos aprendidos que compartiré con ustedes en estos días.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Ayer un cliente me consultó como poder auto ajustar las filas en una hoja de Excel pero que no queden tan ajustadas sino que les de un espacio al inicio y al final de cada celda.</span><br />
<a name='more'></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Ante esto, lo primero que se me ocurrió fue indicarle que manualmente cambie el alto de las filas, pero el no quedó muy satisfecho, pues son varias lineas y no todas tiene la misma cantidad de datos.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Para poder apreciar mejor, crearemos un ejemplo muy sencillo. Tenemos la siguiente tabla:</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5adrKQev_c0UiiOLU93V3vJbkVg4QRG6Tai-pKJ1D1nB7ZPmcMfrLf39a9P4x62VbbGEJPe0V3YSYgl6yr6jVCHjg7axYa4YkmB-W0Qm4TI9DRmAfmBGQUodG1OIoes7FYmZ5Y8ZZ2w/s1600/Imagen_003.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5adrKQev_c0UiiOLU93V3vJbkVg4QRG6Tai-pKJ1D1nB7ZPmcMfrLf39a9P4x62VbbGEJPe0V3YSYgl6yr6jVCHjg7axYa4YkmB-W0Qm4TI9DRmAfmBGQUodG1OIoes7FYmZ5Y8ZZ2w/s1600/Imagen_003.PNG" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Como podemos apreciar las lineas están con ajuste de texto, y es por ello que se pueden ver algunas celdas con 2 lineas. Pero observamos que los textos están muy pegados. Y para poder separarlos un poco mas, usaremos la función CARACTER</span><br />
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="color: red; font-family: arial, helvetica, sans-serif;"><b><u>La función CARACTER en Excel</u></b></span><br />
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;"><br /></span>
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;">La función <b>CARACTER </b>toma como argumento un número entero, entre 1 y 255, y nos devuelve su equivalencia dentro del juego de caracteres ASCII de nuestro computador. </span><br />
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;"><br /></span>
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;">Afortunadamente todos los computadores utilizan este código de caracteres y por lo tanto los resultados serán consistentes.</span><br />
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;"><br /></span>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"></span><br />
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;">Por ejemplo, en la siguiente imagen puedes ver el resultado de pedirle a la función <b>CARACTER </b>que nos devuelva el carácter cuyo código ASCII equivale al número <b>65 </b>y como resultado obtendremos la letra <b>“A”</b> mayúscula.</span><br />
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-vm7BznO8kpZDRAa9eSkgSPIc6LLPp4xRELaAfPk0vuopjPlMg9AYILOhmbpqMCJR7fUSqaBV3M1HMGjBzd2ANFhibVBKhYYDqk3UMrxwEIfaDIpbpU5PJr2jSs-PqJt9Zbsh3UZCaw/s1600/Imagen_004.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="101" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-vm7BznO8kpZDRAa9eSkgSPIc6LLPp4xRELaAfPk0vuopjPlMg9AYILOhmbpqMCJR7fUSqaBV3M1HMGjBzd2ANFhibVBKhYYDqk3UMrxwEIfaDIpbpU5PJr2jSs-PqJt9Zbsh3UZCaw/s320/Imagen_004.png" width="320" /></a></div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">El salto de linea (o Enter) es el número </span><b style="color: #0b5394;">10</b><span style="color: #0b5394;"> dentro de los Códigos ASCII, por lo tanto si coloco </span><b><span style="color: red;">=CARACTER(10)</span></b><span style="color: #0b5394;"> es como si presionáramos ALT + </span><span style="color: #0b5394;">Enter dentro de una celda.</span></span><br />
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u><br /></u></b></span>
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b><u>Colocar un salto de linea antes y después en cada celda</u></b></span><br />
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;"><br /></span></span>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #0b5394;">Para colocar un salto de linea antes y después de cada celda, utilizaremos el símbolo & (</span></span><span style="color: #0b5394; font-family: arial, helvetica, sans-serif;">ampersand), de la siguiente forma:</span><br />
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;"><br /></span>
<div style="text-align: center;">
<span style="color: red; font-family: arial, helvetica, sans-serif;"><b>=CARACTER(10) & B2 & CARACTER(10)</b></span></div>
<span style="color: #0b5394; font-family: arial, helvetica, sans-serif;"><br /></span>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Y obtendremos el siguiente resultado:</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzl988CmaK3bnD5n8fKpWVsgTQya1WjK3-ls_lxRZYuSJNW0xuee_0437833fqVj8IaT72xCU0iV35SYo3qC7mgTbrPKxZ2oaUVFLj4jn3dZ2BnbDMBFWQNsvGMOEvVWCDLBNImc48SA/s1600/Imagen_005.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzl988CmaK3bnD5n8fKpWVsgTQya1WjK3-ls_lxRZYuSJNW0xuee_0437833fqVj8IaT72xCU0iV35SYo3qC7mgTbrPKxZ2oaUVFLj4jn3dZ2BnbDMBFWQNsvGMOEvVWCDLBNImc48SA/s400/Imagen_005.PNG" width="400" /></a></div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Hay que tomar en cuenta que las celdas de la columna D deben tener activo la opción de Ajustar Texto</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsA7C_h9x6lYU8VOS4tKKqS55t1gIlNOOEK4JSXN5sZG8NsdqdWKc8KBVPFuQTSAMzC0rZO8rvXc-NTOaSsd9OBuQKTS_Utv9mchDLD-sBhn-oZdOQZjrCNZVffZKOXVWQY-BFsrib_A/s1600/Imagen_006.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsA7C_h9x6lYU8VOS4tKKqS55t1gIlNOOEK4JSXN5sZG8NsdqdWKc8KBVPFuQTSAMzC0rZO8rvXc-NTOaSsd9OBuQKTS_Utv9mchDLD-sBhn-oZdOQZjrCNZVffZKOXVWQY-BFsrib_A/s1600/Imagen_006.PNG" /></a></div>
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Finalmente podríamos oculta la Columna D para que nadie pueda visualizar esta formula</span><br />
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<div style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;">Espero que les sirva.</span></span></div>
<div style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0b5394;"><br /></span></span></div>
<div style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px;">
<span style="font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;"><span style="color: #0b5394;">Ing. Enrique Neciosup Morales</span></span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/personal.consulting.cr/" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
</div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-61554461806408104972016-12-12T13:13:00.001-06:002017-01-20T09:12:32.887-06:00Como exportar gran cantidad de datos de Excel a Access con VBA<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDnW8rt0oQzHvstlYThC2_JnqG9LCNegA4yPLuqLrLA3OF-9xrB44k-pZzGaOqD0eRRG6OL2hTp-FWRD5XbiWxgPqzosa3DbdGGneDypCfhmdlcOAgHJvVsXLDTmulAAPJojXddE6jBA/s1600/imagen_108.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDnW8rt0oQzHvstlYThC2_JnqG9LCNegA4yPLuqLrLA3OF-9xrB44k-pZzGaOqD0eRRG6OL2hTp-FWRD5XbiWxgPqzosa3DbdGGneDypCfhmdlcOAgHJvVsXLDTmulAAPJojXddE6jBA/s1600/imagen_108.png" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Hace unos momentos, estaba trabajando en la importación de datos de Excel a Access para uno de mis clientes. Pero como la tabla de Excel tenía gran cantidad de información (mas de 500 mil filas y mas de 40 columnas) el proceso era muy lento y en algunos momentos la computadora no respondía.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"></span></div>
<a name='more'></a><span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Ante esto me puse a investigar si había alguna forma de hacerlo mucho mas rápido y encontré el siguiente código:</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b>Sub AccImport()</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> Dim acc As New Access.Application</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> acc.OpenCurrentDatabase "C:\Users\enrique\BaseDatos.accdb"</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> acc.DoCmd.TransferSpreadsheet _</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> TransferType:=acImport, _</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> SpreadSheetType:=acSpreadsheetTypeExcel12Xml, _</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> TableName:="Prueba", _</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> Filename:=Application.ActiveWorkbook.FullName, _</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> HasFieldNames:=True</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> acc.CloseCurrentDatabase</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> acc.Quit</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"> Set acc = Nothing</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b>End Sub</b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Este código lo que hace es abrir el Access e importar la hoja que tengo directamente a la tabla Prueba. Un detalle importante es que la tabla y la hoja de Excel tengan la misma cantidad de columnas y la misma estructura.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">Sintaxis del Método DoCmd.TransferSpreadsheet</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;">DoCmd.TransferSpreadsheet(TransferType, SpreadsheetType, TableName, FileName, HasFieldNames, Range)</span></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT3n5WXOgbE_pzVXriCpyQ7BMl2AaRZl9EBqh-7gvGLiti9rh29PLZixwdkVH0oO8cGyJ0KJ1f8-Bvfchw96yyF4iuIN2LIv_FwrY6d2XqhLsPfR_e6UXeUrXcCVmdYdNss1aSR13c0w/s1600/imagen_109.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT3n5WXOgbE_pzVXriCpyQ7BMl2AaRZl9EBqh-7gvGLiti9rh29PLZixwdkVH0oO8cGyJ0KJ1f8-Bvfchw96yyF4iuIN2LIv_FwrY6d2XqhLsPfR_e6UXeUrXcCVmdYdNss1aSR13c0w/s400/imagen_109.PNG" width="400" /></a></div>
<br />
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #073763;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><span style="line-height: 20.79px; text-align: start;">Ing. Enrique Neciosup Morales</span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/expertosenexcelpc" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com1tag:blogger.com,1999:blog-6051590586256335738.post-43049946940112938602016-08-17T20:02:00.000-06:002016-08-17T20:02:39.386-06:00Como evitar cerrar libros de Excel con VBA<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitSmnk_e3NSWBEcaf2hSabgESJe5_JOdbBUUTel80TdU20Pugrhi_lLY-LDEoPNO04vdyW7JKhdNyMzWDCpdb-AfrRb_GESW-SsZy3t3oUbcvQm6K0NIK_UdKoSwJa2kmNZp3QOXNgRQ/s1600/imagen_100.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitSmnk_e3NSWBEcaf2hSabgESJe5_JOdbBUUTel80TdU20Pugrhi_lLY-LDEoPNO04vdyW7JKhdNyMzWDCpdb-AfrRb_GESW-SsZy3t3oUbcvQm6K0NIK_UdKoSwJa2kmNZp3QOXNgRQ/s320/imagen_100.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">He vuelto!!! y con muchos mas trucos y tips que he aprendido en estos últimos meses. Entre ellos me preguntaron como evitar cerrar un libro de Excel desde un macros, y aquí tengo la respuesta.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Es muy sencillo, allí van los pasos:</span><br />
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">Paso 1: </span></b><span style="color: #073763;">Primero entro al Visual Basic for Application (Con las teclas <b>ALT + F11</b>).</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtC5V78kUa77nfbWyvPb__Q3LovHy0aosCZFvmFDVWGnO8tZ-KTO5M9catniy7zC54wF1MnjRw9Y-4LAsFzopiwsb_p7H-z-MBNrm793Q52iqisXSD7yyvJ9T2toQ1_etMjGkg_Ckblg/s1600/imagen0095.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtC5V78kUa77nfbWyvPb__Q3LovHy0aosCZFvmFDVWGnO8tZ-KTO5M9catniy7zC54wF1MnjRw9Y-4LAsFzopiwsb_p7H-z-MBNrm793Q52iqisXSD7yyvJ9T2toQ1_etMjGkg_Ckblg/s320/imagen0095.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">Paso 2:</span></b><span style="color: #073763;"> Inserto un módulo (<b>Menú Insertar</b> // <b>Módulo</b>) y copio el siguiente código:</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2kHnxj1GmDnMvNiK2bUCNqeOp2aV_VnxO0H_ILdPiMFXR7X8AyHFQIPGG-n7vYE_xR_KD1odgyBIwkYrx5JcKcwa7BGzLRx7J50WaWmW3sZfPwKZTX73VmzIdfu-K3FDwNJJKnCaWmg/s1600/imagen0096.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2kHnxj1GmDnMvNiK2bUCNqeOp2aV_VnxO0H_ILdPiMFXR7X8AyHFQIPGG-n7vYE_xR_KD1odgyBIwkYrx5JcKcwa7BGzLRx7J50WaWmW3sZfPwKZTX73VmzIdfu-K3FDwNJJKnCaWmg/s320/imagen0096.jpg" width="320" /></a></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;"><b><br /></b></span></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>Public Permiso As Boolean</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>Sub Cierre()</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b> Call DamePermiso</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b> ActiveWorkbook.Save</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b> ActiveWorkbook.Close</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>End Sub</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>Public Sub DamePermiso()</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b> Permiso = True</b></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: #073763;"></span></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>End Sub</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">Paso 3: </span></b><span style="color: #073763;">En el objeto <b>ThisWorkbook </b>copio el siguiente código:</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5InGkNvybFBOvFf_X-GWLjdk44DwX4KytQl5tGnxzG1e9FSBlrBu9YwBdvwZVN1Bv4EfBnwS6zNV1e4pBtNiraBNYOyCXGFJmpSQRYtiprlUI-295quJDW_qLP-kRcLBJcbO-TJ5JA/s1600/imagen_101.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5InGkNvybFBOvFf_X-GWLjdk44DwX4KytQl5tGnxzG1e9FSBlrBu9YwBdvwZVN1Bv4EfBnwS6zNV1e4pBtNiraBNYOyCXGFJmpSQRYtiprlUI-295quJDW_qLP-kRcLBJcbO-TJ5JA/s1600/imagen_101.PNG" /></a></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>Private Sub Workbook_BeforeClose(Cancel As Boolean)</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>If Permiso <> True Then</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b> MsgBox "No tiene permiso para cerrar"</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b> Cancel = True</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>End If</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span></div>
<div style="text-align: justify;">
<b><span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"></span></b></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><b>End Sub</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">Paso 4.</span></b><span style="color: #073763;"> Cierro el Visual Basic.</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: red;">Paso 5.</span></b><span style="color: #073763;"> En una hoja de Excel agrego un objeto o una forma y le asigno la Macro </span><b><span style="color: red;">Cierre</span></b></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2eUn05ta0bUvJlMAKfAT2MgG8qwdPIHTij8h0cYAyiZHuR8ga8pnOHLW7CV9ivklehOS2KNOv-QPLxbcvA7MG9URk05PSY8b6kGJQsdsZWqxdcPV1Fi0Urc8xA3yVBMmWSQBQ-9jPBA/s1600/imagen_103.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="126" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2eUn05ta0bUvJlMAKfAT2MgG8qwdPIHTij8h0cYAyiZHuR8ga8pnOHLW7CV9ivklehOS2KNOv-QPLxbcvA7MG9URk05PSY8b6kGJQsdsZWqxdcPV1Fi0Urc8xA3yVBMmWSQBQ-9jPBA/s320/imagen_103.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1QoHDBFmMZt5qsvmIAAeUTiWEQQ7ZbJs6QmEdjtvRHb8d-ncHuLmSan4wKoa7ktfnOcRJmjCSC4txbL9qn5NH6bL5ET9RMfyJQSvebCi7OwCtdQiXcBHK7SvcMpswJLEThG5wm3Z7pw/s1600/imagen_104.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1QoHDBFmMZt5qsvmIAAeUTiWEQQ7ZbJs6QmEdjtvRHb8d-ncHuLmSan4wKoa7ktfnOcRJmjCSC4txbL9qn5NH6bL5ET9RMfyJQSvebCi7OwCtdQiXcBHK7SvcMpswJLEThG5wm3Z7pw/s320/imagen_104.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLC9N4Wh66WQwjswt6Vt08z7aaxoykPdTzRKwB1N77312et3m1y0Wei6euyQEAAMIFT2F79quwunW1iD8HBn3AzMOvCkvZ8INAEZxh8PsAmUq8Ox6EeFGcMJOeSxb2B1a4bD9LALSnKQ/s1600/imagen_106.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="307" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLC9N4Wh66WQwjswt6Vt08z7aaxoykPdTzRKwB1N77312et3m1y0Wei6euyQEAAMIFT2F79quwunW1iD8HBn3AzMOvCkvZ8INAEZxh8PsAmUq8Ox6EeFGcMJOeSxb2B1a4bD9LALSnKQ/s320/imagen_106.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;">Ahora cada vez que cierren el archivo desde la <b>esquina superior derecha</b>, o desde el menú <b>Archivo // Cerrar</b>; les saldrá el siguiente mensaje:</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGb_QTCOAj6D1qV3ymMmZ-9R9-5W58hdOWb0UvrsPjPBHvLh9HYSd6ppc7HElGIQKGTYemfVN5aOfvflWD0blZGzmcX0ep_p10Iv1HCcos-fwuNiNpIKPSXtPZ4Je4g7JpfdLDZD1DHQ/s1600/imagen_107.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGb_QTCOAj6D1qV3ymMmZ-9R9-5W58hdOWb0UvrsPjPBHvLh9HYSd6ppc7HElGIQKGTYemfVN5aOfvflWD0blZGzmcX0ep_p10Iv1HCcos-fwuNiNpIKPSXtPZ4Je4g7JpfdLDZD1DHQ/s1600/imagen_107.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;">Solo si hacen clic en el botón que tienen asignado la macros Cierre , el archivo libro se cerrará y guardará automáticamente..</span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;"><br /></span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;">Ing. Enrique Neciosup Morales</span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/expertosenexcelpc" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com1tag:blogger.com,1999:blog-6051590586256335738.post-91436114506019597982016-06-09T12:37:00.002-06:002016-06-09T12:37:54.874-06:00Función CONTAR.SI<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEXkSCeUCqEcXuSg-SEbWoqEUznk8wnz3JfI2gistArT8bA4CCkIu7to5o0_f0Ze8A9KSAI9ty7gFnOC05cQap7BKrNt45L-i0jy5nRarjEsijx2SfduHezQVPlEYNRIemN9qZTYuO0g/s1600/imagen_098.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEXkSCeUCqEcXuSg-SEbWoqEUznk8wnz3JfI2gistArT8bA4CCkIu7to5o0_f0Ze8A9KSAI9ty7gFnOC05cQap7BKrNt45L-i0jy5nRarjEsijx2SfduHezQVPlEYNRIemN9qZTYuO0g/s400/imagen_098.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;">En esta oportunidad explicaremos como podemos utilizar la Funcion CONTAR.SI </span><b><span style="color: red;">(COUNTIF en inglés)</span></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><br />
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">La función <b>CONTAR.SI</b> en Excel nos permite contar la cantidad de datos o celdas de un rango que cumplan con un criterio. Solo cuando el valor de dichas celdas cumple la condición es considerada.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Sintaxis de la función CONTAR.SI</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Solamente existen dos argumentos para la función <b>CONTAR.SI </b>que son lo siguientes:</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeqkb82gCFRBILlHxufnqp6eKwgslC7m9NEApSVlttrBs2TTiHaklfMF5I6CxfzLsuduJSxiTYyljutWkjLrxJUcPk1nKskzaxSdwDnkIf67wbpWqeyoH75kKHQntiHMAHgWbNgYAopA/s1600/imagen_099.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="187" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeqkb82gCFRBILlHxufnqp6eKwgslC7m9NEApSVlttrBs2TTiHaklfMF5I6CxfzLsuduJSxiTYyljutWkjLrxJUcPk1nKskzaxSdwDnkIf67wbpWqeyoH75kKHQntiHMAHgWbNgYAopA/s400/imagen_099.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"> - <b>Rango (obligatorio): </b>El rango que contiene los valores que se desean contar.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"> - <b>Criterio (obligatorio):</b> La condición que determinará las celdas que serán contadas.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">El criterio puede ser un número, texto o una expresión que indicará la condición a cumplir, por ejemplo: "F", “>25”, “>400000”. </span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">El criterio no hará diferencia entre mayúsculas y minúsculas. La función CONTAR.SI solamente permite especificar una sola condición, si en algún momento requerimos mas condiciones utilizaremos la funciones CONTAR.SI.CONJUNTO</span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Ejemplo de la función CONTAR.SI (en video)</u></b></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">En esta oportunidad hemos subido un vídeo de 3 minutos donde explicamos detalladamente como utilizar esta función.</span></div>
<div class="separator" style="clear: both; text-align: justify;">
</div>
<div style="text-align: center;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/qyiBWY99Ues/0.jpg" src="https://www.youtube.com/embed/qyiBWY99Ues?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<br />
<div class="separator" style="clear: both; text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;">Ing. Enrique Neciosup Morales</span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/expertosenexcelpc" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-54928745904627079872016-05-26T08:59:00.003-06:002016-05-26T08:59:55.024-06:00Dividir Texto en columnas<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvvlHD2vYQRuLE8QZfoyQFCfTAaGgV7hwBkRoOTNpQJrZiNLwJWZ-aQbu8nyCKfkYFOk6njYTcXEaNTO2LBVXc0WwvqCcAIyfcssIcAovgOqNknGl51pNaWncEkz6xPHysZvfb-sxAdQ/s1600/imagen_091.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvvlHD2vYQRuLE8QZfoyQFCfTAaGgV7hwBkRoOTNpQJrZiNLwJWZ-aQbu8nyCKfkYFOk6njYTcXEaNTO2LBVXc0WwvqCcAIyfcssIcAovgOqNknGl51pNaWncEkz6xPHysZvfb-sxAdQ/s320/imagen_091.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Cuando tenemos un texto que deseamos dividir en varias celdas, podemos utilizar el <b>Asistente para convertir texto en columnas</b>. Este asistente nos ayudará a colocar cada palabra de nuestro texto en una columna diferente.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Dividir texto en celdas diferentes</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Vamos a utilizar la siguiente tabla:</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTACoW3VSEeGpvZ9njDl5lVAvJE4f8eL4gYzJpTCqOoLnUm-MO4kfRXfmR9SP70_5C-3i9co5o1pYT_sJNQBxFOxdeL1436j-rh-AaE08_NIOqyamHnqOtSpBGgp5l9yj8VC6tMlNreg/s1600/imagen_092.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTACoW3VSEeGpvZ9njDl5lVAvJE4f8eL4gYzJpTCqOoLnUm-MO4kfRXfmR9SP70_5C-3i9co5o1pYT_sJNQBxFOxdeL1436j-rh-AaE08_NIOqyamHnqOtSpBGgp5l9yj8VC6tMlNreg/s320/imagen_092.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Con esa tabla queremos separar cada nombre y apellido en celdas distintas por lo cual vamos a seleccionar la columna A, y luego nos vamos a la etiqueta Datos, y presionamos el botón Texto en Columnas, como apreciamos a continuación:</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw01ekOnEHBTyLENN9mgInyzFbCiiq9sFaJIAkJEfBCK3TMo0Mx8VBkwT-NelYP-q3JLK2iTGOVqbjJcRMMPja2fC6SQRKSUjkk7YyioBm9ksaqh6DUJgEqtNsFmXXeXkwoz6Aw-V3bQ/s1600/imagen_093.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw01ekOnEHBTyLENN9mgInyzFbCiiq9sFaJIAkJEfBCK3TMo0Mx8VBkwT-NelYP-q3JLK2iTGOVqbjJcRMMPja2fC6SQRKSUjkk7YyioBm9ksaqh6DUJgEqtNsFmXXeXkwoz6Aw-V3bQ/s1600/imagen_093.png" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Luego seguimos los siguiente pasos:</span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u><br /></u></b></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Paso 1: Indicar que tipo Archivo.</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Existen 2 tipos de archivos de texto, los delimitados que son aquellos que entre un texto y otro hay un dígito que los limita, puede ser un espacio, una tabulación, una coma, un punto y coma, etc. Y los de ancho fijo, por ejemplo si texto una fecha, los años siempre tendrán 4 dígitos, el mes 2 dígitos y el día 2 dígitos</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-eSWEXLwPtlGL0LDXlEbBo_EQz2sLWRTYpp9JIaxetawhT4lx8cpJtqx6f7hSiVQcJc9sjF_UjARZ_JolVC_SQJ1LKD5PKVF7B9LV0VKhYbhhEws69DTkaFwVvGL76UcOJs2kIhIt-A/s1600/imagen_094.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-eSWEXLwPtlGL0LDXlEbBo_EQz2sLWRTYpp9JIaxetawhT4lx8cpJtqx6f7hSiVQcJc9sjF_UjARZ_JolVC_SQJ1LKD5PKVF7B9LV0VKhYbhhEws69DTkaFwVvGL76UcOJs2kIhIt-A/s1600/imagen_094.PNG" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">En nuestro caso, entre un nombre y otro tenemos un espacio, y además no todos los nombres tienen el mismo ancho de dígitos, por lo cual seleccionamos Delimitados.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u><br /></u></b></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Paso 2: Indicar cual es el separador.</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Este paso se da debido a que indicamos que el tipo es delimitado, por lo que nos pregunta que dígito es lo que separa los textos, y en nuestro caso hemos seleccionamos <b>Espacio</b>.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_6NmGvcTP0dUrKqt7k1mTeOU_QH8omjwqAF6mQFwNW5gGsMyrpphpfXp0WFoZWgC1e-mPY3q2x1Np4dbJhDzp60MIT3d5EhO_DnwnSKy3NNZw_MrMFczj8Y3FnHukrmaidV9uwwiQhQ/s1600/imagen_095.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_6NmGvcTP0dUrKqt7k1mTeOU_QH8omjwqAF6mQFwNW5gGsMyrpphpfXp0WFoZWgC1e-mPY3q2x1Np4dbJhDzp60MIT3d5EhO_DnwnSKy3NNZw_MrMFczj8Y3FnHukrmaidV9uwwiQhQ/s1600/imagen_095.PNG" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif;"><b><u>Paso 3: Indicar que formato tienen los datos.</u></b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">En este caso si dejamos la opción General, el Excel se encarga automáticamente de indicar el formato. Pero si no lo hacemos, debemos indicar que tipo de dato es cada columna. Esta puede ser Texto o Fecha. Si tuvieran números los dejan en general.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDyV1-vfpsf9JRHfknD4_O6U5B5Yso18mXYNvIVDRhwDntcIzSCd19o6NoXgq1Q4i4E5FXD-3oK4sa84sINTfuoZFKyw-4vhMtjHeSdx0CIcoABNPP9ik9umLLJImok3RZsQEfwUUqkg/s1600/imagen_096.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDyV1-vfpsf9JRHfknD4_O6U5B5Yso18mXYNvIVDRhwDntcIzSCd19o6NoXgq1Q4i4E5FXD-3oK4sa84sINTfuoZFKyw-4vhMtjHeSdx0CIcoABNPP9ik9umLLJImok3RZsQEfwUUqkg/s1600/imagen_096.PNG" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Luego de seguir esos pasos, tenemos el siguiente resultado:</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWHv7oQp3Q-3vS4ZfxJmtJl5WyDLHm56ZRaH2bkKuQmFoVw32b77swExaOV9E2BZkDPUW0mcCVYkl02peT4Z7yFFnu8sknW0o8IziKyzw90irJAPy8xVsKt-CoRjT66Q9wnr_dxdJ9Xw/s1600/imagen_097.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWHv7oQp3Q-3vS4ZfxJmtJl5WyDLHm56ZRaH2bkKuQmFoVw32b77swExaOV9E2BZkDPUW0mcCVYkl02peT4Z7yFFnu8sknW0o8IziKyzw90irJAPy8xVsKt-CoRjT66Q9wnr_dxdJ9Xw/s400/imagen_097.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;">Claro en la imagen yo he colocado los títulos para que se visualicen mas llamativo y les he puesto fondo gris.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #073763;">Espero que les sirva.</span></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;">Ing. Enrique Neciosup Morales</span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/expertosenexcelpc" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com1tag:blogger.com,1999:blog-6051590586256335738.post-68344187530645430572016-05-12T14:36:00.001-06:002016-05-12T14:36:35.855-06:00Como colocar fracciones en un celda de Excel<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1-ERncwe2rpG56EDEqbdlp-y83TmmIOfjJaUGptx77BBwJN6xZFUj4FcBgP4JTD7aj3USj8WX3yXhJKeZrs9qxXtsv2TrHp6Mw4WVoOeBvP9Ta15d-4aq8tHOmlPIWT6Oqmy9J_jYNg/s1600/imagen_087.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="307" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1-ERncwe2rpG56EDEqbdlp-y83TmmIOfjJaUGptx77BBwJN6xZFUj4FcBgP4JTD7aj3USj8WX3yXhJKeZrs9qxXtsv2TrHp6Mw4WVoOeBvP9Ta15d-4aq8tHOmlPIWT6Oqmy9J_jYNg/s320/imagen_087.png" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Estuve navegando por internet y se me ocurrió buscar nuevos trucos de Excel. Y encontré este que me pareció muy interesante.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Se trata de colocar fracciones dentro de una celda de Excel.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"></span></div>
<a name='more'></a><br />
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Si me posiciono en una celda y coloco <b>3/5 </b>al presionar <b>Enter</b>, el Excel reconoce como el 03 de mayo del año actual.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilGDVlL62o4sxY8twj654uw3zVXlGgFstOU9Ga-C7LLarKM0mkF_lG2hXBUih3MqQ-oz607sWHRh-wlS_H95uXuSTESfDWyuB_wGMaYdgwoYzlf7G7lLRoXPQWuQm5ftWw4uzEqju5zA/s1600/imagen_088.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="117" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilGDVlL62o4sxY8twj654uw3zVXlGgFstOU9Ga-C7LLarKM0mkF_lG2hXBUih3MqQ-oz607sWHRh-wlS_H95uXuSTESfDWyuB_wGMaYdgwoYzlf7G7lLRoXPQWuQm5ftWw4uzEqju5zA/s320/imagen_088.PNG" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Es por eso que debemos escribir <b>0 3/5 </b>y nos devolverá la fracción.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfOZvfkv-fu9WZ6ePgGdxd898PCGavby_36LFWs2t-G416hd2aL0d4ntrijljiwFvmmIUIh1x5oAV3yiJYmIlgXtqePCIOosQZXrSanSTuGFspOKz6lAQaMTLuXNo1PJC3LfC-BIdQ1w/s1600/imagen_089.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="127" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfOZvfkv-fu9WZ6ePgGdxd898PCGavby_36LFWs2t-G416hd2aL0d4ntrijljiwFvmmIUIh1x5oAV3yiJYmIlgXtqePCIOosQZXrSanSTuGFspOKz6lAQaMTLuXNo1PJC3LfC-BIdQ1w/s320/imagen_089.PNG" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"> Y el resultado será el siguiente:</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZAX9qiQemZGg6PBOU2ukM4pFErKrwmx-aI6hubg5UYQ9_qm7a5GK9sJsC9K0GVBoLH-1iN1zJS9wguzGPJAOLTxc54F79kqFKFpi9BWIRrxTrbmbdUqEvM5drRj1cXpIPu610DYR7fw/s1600/imagen_090.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="141" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZAX9qiQemZGg6PBOU2ukM4pFErKrwmx-aI6hubg5UYQ9_qm7a5GK9sJsC9K0GVBoLH-1iN1zJS9wguzGPJAOLTxc54F79kqFKFpi9BWIRrxTrbmbdUqEvM5drRj1cXpIPu610DYR7fw/s320/imagen_090.PNG" width="320" /></a></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;">Espero que les sirva.</span></div>
<div style="text-align: justify;">
<span style="color: #0b5394; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="background-color: white; color: #4b4b4b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><span style="line-height: 20.79px; text-align: start;">Ing. Enrique Neciosup Morales</span></span></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"></span><br style="font-size: 14.85px; line-height: 20.79px;" /></div>
<div style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.85px; line-height: 20.79px; text-align: justify;">
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenexcelpc.com/" style="color: #771100; text-decoration: none;">www.expertosenexcelpc.com</a></span></div>
<div style="text-align: start;">
<span style="color: #073763; font-family: arial, helvetica, sans-serif;"><a href="http://www.expertosenwordpc.blogspot.com/" style="color: #771100; text-decoration: none;">www.<span style="text-align: justify;">expertosenwordpc.blogspot.com</span></a><br style="text-align: justify;" /><span style="text-align: justify;"><span style="text-align: start;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #771100; text-decoration: none;">enrique@expertosenexcelpc.com</a> </span></span></span></div>
<span style="color: #073763; font-family: arial, helvetica, sans-serif; font-size: 14.85px; line-height: 20.79px;"><span style="line-height: 20.79px; text-align: start;"><b><a href="https://www.facebook.com/expertosenexcelpc" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></span></div>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0tag:blogger.com,1999:blog-6051590586256335738.post-56013975551024791572016-05-12T00:03:00.003-06:002016-05-12T14:37:13.546-06:00Como quitar la contraseña a una hoja de Excel 2013<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqYH-Q0iL2Yb2o1qYPnOctbM008wh7_fXzeGxzxwSsdBi4nbt2_Rtffj4P4tjV1Zs74OwUmHCElr9eNQpcqYn3hnoskr0fg7a87ud3R1gpx2r6_3Pu-1lrYi4Xvs0KuhVd4Fkw2e6piQ/s1600/imagen_059.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="187" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqYH-Q0iL2Yb2o1qYPnOctbM008wh7_fXzeGxzxwSsdBi4nbt2_Rtffj4P4tjV1Zs74OwUmHCElr9eNQpcqYn3hnoskr0fg7a87ud3R1gpx2r6_3Pu-1lrYi4Xvs0KuhVd4Fkw2e6piQ/s400/imagen_059.jpg" width="400" /></a></div>
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<br />
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #073763;">Hoy tuve clases de Excel 2013 y enseñe a mis alumnos como proteger u ocultar ciertas celdas dentro de una hoja. </span></span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #073763;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #073763;">Pero al mismo tiempo les indique que se podía quitar la contraseña mediante una macros, la cual la pueden encontrar en el </span><a href="http://www.expertosenexcelpc.com/2012/10/como-quitar-la-contrasena-una-hoja-de.html" target="_blank"><span style="color: red;"><b>siguiente enlace</b></span></a><span style="color: #073763;">.</span></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Sin embargo, ese procedimiento sirve para la versión 2010 o anterior, pero no funciona para el Excel 2013, pues se queda pegado en el proceso.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"></span></div>
<a name='more'></a><br />
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Ya esta situación me lo había mencionado un amigo pero no había tenido tiempo de revisar este detalle y me quede con la inquietud en lo profundo de mi ser, en esa realidad óntica, inalienable que no permuta a través del tiempo (me puse profundo).</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Entonces, empecé a una vez a investigar y a navegar dentro de Google, y lamentablemente en esta oportunidad no me sirvió de mucho, lo siento.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Así que recordé a mi otro amigo, que se llama Youtube, y él sí pudo darme una respuesta que ya he probado y el procedimiento es mucho mas sencillo que el anterior.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Pero como diría un pollito,...vamos al grano, así que aquí están los pasos a seguir:</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Tengo el siguiente archivo:</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf7fKoMgmuyUpDVcwf9vEb4X3ibsZ5hoRgVskK-PHXrLidbATuHY965UtHQYV87Ymv5NdI3ALW3_M-GhfvvSxrmH_sVZE2FMp4qZn_dPwqoyb6O3PzE1bOEWOwXwyyHryz0QJX7ujNFA/s1600/imagen_060.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="58" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf7fKoMgmuyUpDVcwf9vEb4X3ibsZ5hoRgVskK-PHXrLidbATuHY965UtHQYV87Ymv5NdI3ALW3_M-GhfvvSxrmH_sVZE2FMp4qZn_dPwqoyb6O3PzE1bOEWOwXwyyHryz0QJX7ujNFA/s400/imagen_060.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Por seguridad (mas vale prevenir, que lamentar) vamos a sacar una copia del archivo, por lo cual hacemos <b>clic derecho</b> / <b>Copiar </b>y luego <b>clic derecho</b> / <b>Pegar</b>.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZBd4qh3mMw7gqgzzVHxns1hT79A8NGGis0hEiEYOC_l2RCfx_3BkGRC2UnuRDlKJDb9W2nRl3oJQg7rbh6UI1oGu76U8wrmBtOc_aCMfKPPItV5wVj0FbO2NKOf5TeRHoBgKGb1Nv_Q/s1600/imagen_061.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="286" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZBd4qh3mMw7gqgzzVHxns1hT79A8NGGis0hEiEYOC_l2RCfx_3BkGRC2UnuRDlKJDb9W2nRl3oJQg7rbh6UI1oGu76U8wrmBtOc_aCMfKPPItV5wVj0FbO2NKOf5TeRHoBgKGb1Nv_Q/s320/imagen_061.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDSuXQvZg96Ryk-H09vqyltDM5zp8p-ph0SkYPXdodHnSSIV3vp_nACaUF5VLWyCg3_64PYWL2wWJdZIhnD2ZQeKsxq3gxfv43LBdWXJaDXimj4DGRaxgC9UI9XJBenv_mnkFhhBky-w/s1600/imagen_062.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDSuXQvZg96Ryk-H09vqyltDM5zp8p-ph0SkYPXdodHnSSIV3vp_nACaUF5VLWyCg3_64PYWL2wWJdZIhnD2ZQeKsxq3gxfv43LBdWXJaDXimj4DGRaxgC9UI9XJBenv_mnkFhhBky-w/s320/imagen_062.PNG" width="257" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Y obtenemos el siguiente resultado:</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxL_VhmbTbB0VVeMmHsHNQtmIhnUk256KMpXpxpf2O7YGjprDs1G2Eq99Q_kWil0w2nEAoPHcmgOhZx3fqCKauIuigBk4k-rvOqPCWjzxKW5qWAjeE_g-LdXCLjy6j-wwxyeUz6687cA/s1600/imagen_063.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="67" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxL_VhmbTbB0VVeMmHsHNQtmIhnUk256KMpXpxpf2O7YGjprDs1G2Eq99Q_kWil0w2nEAoPHcmgOhZx3fqCKauIuigBk4k-rvOqPCWjzxKW5qWAjeE_g-LdXCLjy6j-wwxyeUz6687cA/s400/imagen_063.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Si abrimos el archivo original encontraremos que la hoja <b>Encuesta </b>está <b>Protegida</b>.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR3miLQhjY2TTHSfW_SHRhWN_lTwYySqbl3-zY1OIrMGsMKEwBou4-sI1FlL45cJ2Bb0aeffM2V5_0QhR6E_4Ih_QHy1uYxas7qXk5IqFY3KlXZv0MXPu-rLfduoeF4QSMPzuxelG_Zw/s1600/imagen_064.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR3miLQhjY2TTHSfW_SHRhWN_lTwYySqbl3-zY1OIrMGsMKEwBou4-sI1FlL45cJ2Bb0aeffM2V5_0QhR6E_4Ih_QHy1uYxas7qXk5IqFY3KlXZv0MXPu-rLfduoeF4QSMPzuxelG_Zw/s400/imagen_064.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #073763;">Por lo tanto vamos a </span><b><span style="color: red;">cerrar el archivo</span></b><span style="color: #073763;"> y realizamos los siguientes pasos:</span></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b>Paso 1: Cambiamos la extensión del archivo de Excel desde el Explorador de Windows.</b></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFkv5VxUkruB2FTSdTBCf1Ou_aoZmBeJnriYMwalvzLvVzlB3hh20wcKayK-eoczVAOQ0YyqZPwbuG910DE4rM0rcQaMD9Y-OfNBm547vQjct5-50iSK4SAlnFzqJPDUL92qlIyhqc5w/s1600/imagen_065.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFkv5VxUkruB2FTSdTBCf1Ou_aoZmBeJnriYMwalvzLvVzlB3hh20wcKayK-eoczVAOQ0YyqZPwbuG910DE4rM0rcQaMD9Y-OfNBm547vQjct5-50iSK4SAlnFzqJPDUL92qlIyhqc5w/s1600/imagen_065.PNG" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Dentro del Explorador de Windows, seleccionamos el archivo original, hacemos clic derecho en él, y seleccionamos la opción <b>Cambiar Nombre</b></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI5uSlXZcKUSpqvLWo0Cyw3PkfXn70cw7AAWhrpKuK0aGPF4Jg8eO-oVQqCTrJ-ffDnL5utCeop3L1AmSn6NYCQfbKDNxLWlHJooe9BLpbfM7Shh1Rgpgx4LqrFKqHAqfLRsdoGkxZAQ/s1600/imagen_066.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="353" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI5uSlXZcKUSpqvLWo0Cyw3PkfXn70cw7AAWhrpKuK0aGPF4Jg8eO-oVQqCTrJ-ffDnL5utCeop3L1AmSn6NYCQfbKDNxLWlHJooe9BLpbfM7Shh1Rgpgx4LqrFKqHAqfLRsdoGkxZAQ/s400/imagen_066.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Lo que haremos en realidad es cambiar la extensión. En lugar de <b>.xlsx</b> le colocaremos <b>.zip</b></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6zylcOIxI5DJxcPfU_6CfZyW151xH27pgff5dcr5a1X3XzP7573OzngLr_gTw5i21Yet7MtwBfXjIPWcfXxVIMOnoWD79i12gxlfxMrVt9YJybm-9u-Ao_0kjR8U33oURR9BLFtbomQ/s1600/imagen_067.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="77" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6zylcOIxI5DJxcPfU_6CfZyW151xH27pgff5dcr5a1X3XzP7573OzngLr_gTw5i21Yet7MtwBfXjIPWcfXxVIMOnoWD79i12gxlfxMrVt9YJybm-9u-Ao_0kjR8U33oURR9BLFtbomQ/s320/imagen_067.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Al realizar dicho cambio y presionar <b>Enter</b>, nos indica si estamos seguro de cambiar la extensión y hacemos<b> clic en Sí</b>.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLtRMlMUmM9J0Iz-Nb4EGzMA5ENAdvxsxRnsqmXnHzRI93T8w0HHAZazZziZZwHTjQNxCCXJivJ7wKIQksWxz3zYTqDBO_8ohsD6oyBtSDdN4W_7q4G7U7KQwY0rvCBadNIehuexsk7g/s1600/imagen_068.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="130" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLtRMlMUmM9J0Iz-Nb4EGzMA5ENAdvxsxRnsqmXnHzRI93T8w0HHAZazZziZZwHTjQNxCCXJivJ7wKIQksWxz3zYTqDBO_8ohsD6oyBtSDdN4W_7q4G7U7KQwY0rvCBadNIehuexsk7g/s400/imagen_068.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Nos devuelve el archivo con extensión ZIP y ha cambiado de icono:</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCCAI7iYLkILHlV5iHtvJkfkC7dXPcUE79p2Xe3OTD0cQdf6k_ZwIIlybAfrAVI4g122Ot2mjg2xxShjF-14AZbc7tIPgnS_QwHArFh_n33cskHd7xE8wENQ8z4HBYOEqHNX5DmxmDqA/s1600/imagen_069.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="103" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCCAI7iYLkILHlV5iHtvJkfkC7dXPcUE79p2Xe3OTD0cQdf6k_ZwIIlybAfrAVI4g122Ot2mjg2xxShjF-14AZbc7tIPgnS_QwHArFh_n33cskHd7xE8wENQ8z4HBYOEqHNX5DmxmDqA/s400/imagen_069.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b>Paso 2: Descomprimimos el archivo.</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Para ello hacemos doble clic en el archivo y nos abre el programa para desempaquetarlo (en mi caso el Winrar)</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYOaerMwF93qcIn6BW7pQcGSQMUbUm0rXsu_f9MA1GB0SWD3HQu5vSfMzIjDH3OvrWBV0mVtSpufN95hkh5z0y0zwLhxo3kK4_xMG7Q-gjOscS-aa108qnNYlhGtJgb4K5Htlseg2E3Q/s1600/imagen_070.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="205" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYOaerMwF93qcIn6BW7pQcGSQMUbUm0rXsu_f9MA1GB0SWD3HQu5vSfMzIjDH3OvrWBV0mVtSpufN95hkh5z0y0zwLhxo3kK4_xMG7Q-gjOscS-aa108qnNYlhGtJgb4K5Htlseg2E3Q/s400/imagen_070.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="color: #073763;">En esta ventana hacemos clic en </span><b><span style="color: red;">Extraer </span></b><span style="color: #073763;">en, y luego presionamos </span><b><span style="color: red;">Aceptar</span></b><span style="color: #073763;">.</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLG9bH05W6CPDU1CU-VueG7_a0m1DW0IrBlQ8nVsH1kvXyLEOmcWxG9slpbuN-6DgaY6OnwHMD1DKQxmhqkjgBBbwrdNHRVqJgoFU5jQbwxvV82ntfLTzHk6eS73YMxzaP8aDSEh2a9w/s1600/imagen_071.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLG9bH05W6CPDU1CU-VueG7_a0m1DW0IrBlQ8nVsH1kvXyLEOmcWxG9slpbuN-6DgaY6OnwHMD1DKQxmhqkjgBBbwrdNHRVqJgoFU5jQbwxvV82ntfLTzHk6eS73YMxzaP8aDSEh2a9w/s400/imagen_071.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Con este paso hemos creado una carpeta con el mismo nombre del archivo.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr5l3YrBcJI_ooqB8PvUSToiZkzYqXsWM_LzYBJCBZF1Z2NR9n1250jPHpLi7HsmO4-DiZoPmKewlxGc7Y4RqF2q7lNpANfDed0chBfynfIF13KmR1yzP-X9AfkLQMElvoODW-UIXq_w/s1600/imagen_072.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="76" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr5l3YrBcJI_ooqB8PvUSToiZkzYqXsWM_LzYBJCBZF1Z2NR9n1250jPHpLi7HsmO4-DiZoPmKewlxGc7Y4RqF2q7lNpANfDed0chBfynfIF13KmR1yzP-X9AfkLQMElvoODW-UIXq_w/s400/imagen_072.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b>Paso 3. Eliminación de la contraseña.</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Ahora entramos en la carpeta que nos ha generado.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirgZixq6cHMc3ci_NLj6sLUSYbv6l71kzKdR94Eq3Cu9UzFJrbRCGICe-pEcTu0hxXfe5rrKOniiaumyiHgSm7270DlJhjaJX1zDHAdSX5P_uE1KFE0qURXFf1CfLAorQfnIH_0ZqeJg/s1600/imagen_073.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="112" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirgZixq6cHMc3ci_NLj6sLUSYbv6l71kzKdR94Eq3Cu9UzFJrbRCGICe-pEcTu0hxXfe5rrKOniiaumyiHgSm7270DlJhjaJX1zDHAdSX5P_uE1KFE0qURXFf1CfLAorQfnIH_0ZqeJg/s400/imagen_073.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Y dentro de ella entramos a la carpeta <b>xl</b></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpOc2Wn6h85lo6iqnvZYOAUx-rliaEfNkSkkJ-gDrBRYocvffOkL4Fgf36V03OovK3nwtYgDWtTM7apdakj-gCw5qQJrm9v6ZnK3PqCzD4v3Rh6rJ4dQzg3nJD0dbs9SdGKX9J0IC5pg/s1600/imagen_074.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpOc2Wn6h85lo6iqnvZYOAUx-rliaEfNkSkkJ-gDrBRYocvffOkL4Fgf36V03OovK3nwtYgDWtTM7apdakj-gCw5qQJrm9v6ZnK3PqCzD4v3Rh6rJ4dQzg3nJD0dbs9SdGKX9J0IC5pg/s400/imagen_074.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Y ahora entramos a la carpeta WorkSheets</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7nL19NHCxm7c6T9JMfWR_83r5ohkkelUX27oHR2D0fxbg955mGFJpV66lUilt0Wi7NwVCpzfWD2td3WHh8trhoAoVRUOFD4mSONpE2hzN-tdJIR_Nka17G7KKyKXbZMuePzHdP628ug/s1600/imagen_075.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="89" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7nL19NHCxm7c6T9JMfWR_83r5ohkkelUX27oHR2D0fxbg955mGFJpV66lUilt0Wi7NwVCpzfWD2td3WHh8trhoAoVRUOFD4mSONpE2hzN-tdJIR_Nka17G7KKyKXbZMuePzHdP628ug/s400/imagen_075.PNG" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">En dicha carpeta encontraremos unos archivos en xml que se refiere a la(s) hoja(s) que tenemos en nuestro archivo.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Abrimos el archivo Sheet2 con el Bloc de Notas.y buscaremos la palabra:</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7juaX77HiL1kewzNS0pue4zPxnvk2FP2QvFKqbDYEPKj06Q-MakpFizAW5tuxc2qY9A3XmOGv6EzA5XyF0bpS4Hr3w2GHCuY-CU1kA5A8rT-zOLCUcGS5W_ksAQVDGwJcb0I9eYakYg/s1600/imagen_076.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="141" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7juaX77HiL1kewzNS0pue4zPxnvk2FP2QvFKqbDYEPKj06Q-MakpFizAW5tuxc2qY9A3XmOGv6EzA5XyF0bpS4Hr3w2GHCuY-CU1kA5A8rT-zOLCUcGS5W_ksAQVDGwJcb0I9eYakYg/s400/imagen_076.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">En esa ventana buscaremos el texto <b>sheetProtection </b>y marcaremos toda la frase desde el <b>signo menor</b> inicial hasta encontrar el <b>signo mayor.</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjidmS0z1wYReKb4y3gjC4aEbBodBEKMKiJNr1Ul6RbO6uiC7M1SvVHBL8mxsv2V0iuxSXqAtuTsk9krdxZhJC1RN-Lf8r5nS5uFXLEQmULR0uPRMdWWE4z_nrX33i_e-zslbs3JvtwQA/s1600/imagen_077.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="231" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjidmS0z1wYReKb4y3gjC4aEbBodBEKMKiJNr1Ul6RbO6uiC7M1SvVHBL8mxsv2V0iuxSXqAtuTsk9krdxZhJC1RN-Lf8r5nS5uFXLEQmULR0uPRMdWWE4z_nrX33i_e-zslbs3JvtwQA/s400/imagen_077.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Es decir, lo que debemos marcar es <b><sheetProtection algorithName=............></b> y eliminamos ese código.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisPWk4jTWTs7qjCdafxY5Q-h-IX9O4OMShirM4y24Ebh5f0AMYkMBMe1JcE5iXn1COj6F4y6XftRI7pNAnY54BVawtimHtcb6GDP4lczPCBLO8VOciUIqmyCbRM4s2xzmQmQtcD5SD6A/s1600/imagen_078.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisPWk4jTWTs7qjCdafxY5Q-h-IX9O4OMShirM4y24Ebh5f0AMYkMBMe1JcE5iXn1COj6F4y6XftRI7pNAnY54BVawtimHtcb6GDP4lczPCBLO8VOciUIqmyCbRM4s2xzmQmQtcD5SD6A/s400/imagen_078.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Guardamos este archivo y lo cerramos.</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaI62qKtDxn2DGS8DB742GTKJBNo13YTIBN27wOenify2RlvW_xkSRoP1srFYjMFi_rEK0DkvbGBxd_fJrYOJ5UJiOHiKLVCOwdqPIbVziFcCmdOw-HiKW8mmQBViP9XOWBUrcz7DZQQ/s1600/imagen_079.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="165" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaI62qKtDxn2DGS8DB742GTKJBNo13YTIBN27wOenify2RlvW_xkSRoP1srFYjMFi_rEK0DkvbGBxd_fJrYOJ5UJiOHiKLVCOwdqPIbVziFcCmdOw-HiKW8mmQBViP9XOWBUrcz7DZQQ/s400/imagen_079.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: red; font-family: "arial" , "helvetica" , sans-serif;"><b>Paso 4. Reconstruir nuestro archivo de Excel</b></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">En la carpeta Inicial vamos a marcar todos los archivos</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgszFbsTzVRk3OF-6l3aOT42O2Adiy09pQnPHR9cOZebxm4oI4zcrbPheiUJeD1LeO5cAPcFcRqbk99HollqW5WiaPihZL6RxFXRFr1ordVaZL6ZBX_xEvl7Uz3z-hu6xrKMd6lgKMfBw/s1600/imagen_080.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="105" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgszFbsTzVRk3OF-6l3aOT42O2Adiy09pQnPHR9cOZebxm4oI4zcrbPheiUJeD1LeO5cAPcFcRqbk99HollqW5WiaPihZL6RxFXRFr1ordVaZL6ZBX_xEvl7Uz3z-hu6xrKMd6lgKMfBw/s400/imagen_080.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Ahora hacemos clic derecho, luego <b>Enviar </b>a y finalmente <b>Carpeta comprimida</b></span></div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUfcQDF1imlOtqpmfBaboXIvmunXZbqHetxWGBnzXjPZOm0fB05jxl8kp2nUOyMHMzv771hlPtt_biTwGGRPKfEKAWnO6Qay0_Otx6m1BSuqJndJozxWRtY943S-UWuFqAkW9fqaOuLg/s1600/imagen_081.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="277" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUfcQDF1imlOtqpmfBaboXIvmunXZbqHetxWGBnzXjPZOm0fB05jxl8kp2nUOyMHMzv771hlPtt_biTwGGRPKfEKAWnO6Qay0_Otx6m1BSuqJndJozxWRtY943S-UWuFqAkW9fqaOuLg/s400/imagen_081.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Y obtendremos el siguiente resultado:</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRhRZfq7LNDzXXnGtG6atqpRHK3g30J_SdOSDECT_xvCoGmIy9TUvV81iSeZ37SXjgQP_nT0o0BarZzUASw9x3cGeOdIRXi_Pykm8mo-k1ElG5XbYRK_cLR1P3hFVCVzJyuKAuLajkvw/s1600/imagen_082.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="110" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRhRZfq7LNDzXXnGtG6atqpRHK3g30J_SdOSDECT_xvCoGmIy9TUvV81iSeZ37SXjgQP_nT0o0BarZzUASw9x3cGeOdIRXi_Pykm8mo-k1ElG5XbYRK_cLR1P3hFVCVzJyuKAuLajkvw/s400/imagen_082.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Finalmente hacemos clic derecho y cambiamos la extensión, es decir, de <b>.zip</b> lo pasamos a <b>.xlsx </b>y listo LA CONTRASEÑA DE ESA HOJA SE HA BORRADO</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVv9gui3kunADagqDLc2_k-3lUisJIW3rK6mCyCXNtrkeyK-t4nm9uhaV-ddjn1vZ_uR6QMV0U-3pJFUL_pdD1zZtFdodECMSauSdMpKiSVqZQHrntDcKjmkPbLme1pfZJDDUe-f6PRg/s1600/imagen_084.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="151" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVv9gui3kunADagqDLc2_k-3lUisJIW3rK6mCyCXNtrkeyK-t4nm9uhaV-ddjn1vZ_uR6QMV0U-3pJFUL_pdD1zZtFdodECMSauSdMpKiSVqZQHrntDcKjmkPbLme1pfZJDDUe-f6PRg/s400/imagen_084.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Si abro el archivo nuevamente, podremos observar que la contraseña de la hoja Encuesta ya no existe por lo que puedo realizar modificaciones...</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSiEZjtOK0NKhP2fUc9Eko0fwqgto48YTcuwd1R9fiH64gx1IkrCI8nkyKHwpdAET5b397aJ5KHBCupTXSISDOhyphenhyphenns5kZQd-a2acnbGMJE8wvv0RMHLkUFhoTnA2y9ibfqAC9ho9TTlg/s1600/imagen_085.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="326" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSiEZjtOK0NKhP2fUc9Eko0fwqgto48YTcuwd1R9fiH64gx1IkrCI8nkyKHwpdAET5b397aJ5KHBCupTXSISDOhyphenhyphenns5kZQd-a2acnbGMJE8wvv0RMHLkUFhoTnA2y9ibfqAC9ho9TTlg/s400/imagen_085.PNG" width="400" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;">Por lo que hay que indicar, que en este tiempo que nos ha tocado vivir NADA ES SEGURO!!!</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwhqRUIQ0KMQwxYV5psJ-0Fa29fc9r1dMI3uBnMBH1o9AIAUrtTyAUeyKboPwv94O1HPoa-B74pSpkmUk1QqUowuq-TxN065pHX2sX9vjrDtrc5hlR_7dS3WxxGPzeQcArSTi2BvVJjg/s1600/imagen_086.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwhqRUIQ0KMQwxYV5psJ-0Fa29fc9r1dMI3uBnMBH1o9AIAUrtTyAUeyKboPwv94O1HPoa-B74pSpkmUk1QqUowuq-TxN065pHX2sX9vjrDtrc5hlR_7dS3WxxGPzeQcArSTi2BvVJjg/s320/imagen_086.PNG" width="313" /></a></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br />Espero que les sirva</span></div>
<div style="text-align: justify;">
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<pre style="background-color: white; color: #4b4b4b; font-size: 14.85px; line-height: 20.79px; white-space: pre-wrap;"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: 15px; line-height: 20.79px; white-space: normal;"><span style="color: #073763;">Ing. Enrique Neciosup Morales</span></span>
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 15px; line-height: 20.79px; white-space: normal;"><a href="mailto:enrique@expertosenexcelpc.com" style="color: #004e9f; text-decoration: none;">enrique@expertosenexcelpc.com</a><b> </b></span>
<span style="color: #073763; font-family: "arial" , "helvetica" , sans-serif; font-size: 15px; line-height: 20.79px; white-space: normal;"><b><a href="https://www.facebook.com/expertosenexcelpc" style="color: #004e9f; text-decoration: none;" target="_blank">Síguenos en Facebook</a></b></span></pre>
Enrique Neciosuphttp://www.blogger.com/profile/16983528714762915729noreply@blogger.com0