Traducir el blog

Mostrando entradas con la etiqueta keyboard. Mostrar todas las entradas
Mostrando entradas con la etiqueta keyboard. Mostrar todas las entradas

Pasa el ratón por encima de las celdas

🔝To translate this blog post to your language, select it in the top left Google box.


Si crees que pasando el ratón por encima de las celdas no se puede hacer nada, ¡estás muy equivocado!

Yo puedo pasar el ratón por encima de las celdas ¡y hacer lo que me de la gana!

Si crees que es una broma lo que digo, ¡aún no es el día de los Santos Inocentes!

Lo puedes comprobar en esta imagen animada:


¿Cómo he conseguido hacerlo? Te lo explico si continuas leyendo...


Cómo ejecutar una macro pasando el ratón por encima de las celdas

Los programadores experimentados de VBA sabrán que las funciones UDF ¡no pueden cambiar valores en otras celdas ni formatearlas!

Pero, ¡esa restricción no aplica si se llama a una función dentro de un hipervínculo en una fórmula de una celda!

Este gran truco se explica en estas dos páginas de Chandoo y Jordan Goldmeier, dos grandes maestros de Excel:

Aprovechando este gran truco he diseñado dos ejemplos que puedes descargar más abajo.

En el primer ejemplo hay un solo módulo MóduloRatón con una única función: PasarRatón

Esta función se llama con una fórmula de la celda H3, arrastrada hacia abajo y hacia la derecha en el rango H3:J6. La fórmula es:

=SI.ERROR(HIPERVINCULO(PasarRatón(H3);B3);B3)

A la función HIPERVINCULO se le pasa la función: PasarRatón(H3) ¡que se ejecuta con sólo pasar el ratón por encima de las celdas!

¡No es un bug o error de Excel! ¡Es un efecto no previsto por los programadores de Microsoft cuando desarrollaron la función HIPERVINCULO!

Este efecto colateral permite ejecutar una función UDF al pasar el ratón por encima de las celdas de Excel. ¡Bien hecho Microsoft Excel!

Adjunto dos ejemplos de este truco que puedes descargar a continuación:

  • Pasa el ratón por encima, con la función comentada anteriormente simulando un teclado de teléfono.
  • Dibuja un patrón con el ratón, con una función mucho más sofisticada con la que dibujar patrones con el ratón.


Descarga y prueba el ratón sobre las celdas

Descarga la versión 1.0 de estos dos ejemplos desde estos enlaces:

Las macros de los archivos descargados están bloqueadas por defecto. Para desbloquear las macros debes modificar las Propiedades del archivo siguiendo estas instrucciones:

Las macros de Internet están bloqueadas de forma predeterminada en Office - Deploy Office | Microsoft Learn

Abre el archivo y presiona el botón: Habilitar edición cuando aparezca el aviso de VISTA PROTEGIDA.

Presiona el botón: Habilitar contenido cuando aparezca la ADVERTENCIA DE SEGURIDAD Las macros se han deshabilitado o se deshabilitó parte del contenido activo.

Las hojas están protegidas sin contraseña, y no está protegido el proyecto VBA, por lo que puedes estudiar y analizar el código de las macros.

ATENCIÓN: Se pueden modificar estos libros de Excel respetando esta licencia:

Creative Commons — Atribución-NoComercial-CompartirIgual-No portada — CC BY-NC-SA 4.0


Vídeo de ratones sobre celdas dibujando patrones

Este vídeo te dará una idea de lo que he conseguido pasando el ratón por encima de las celdas: dibujar patrones formados por líneas entre puntos.


¡Feliz Navidad! Si te descargas el villancico navideño podrás escucharlo cuando dibujes un rombo comenzando por 68.

La primera idea que tuve cuando conocí este truco fue ésta:


¿Qué otras ideas se te ocurren para aprovechar este excelente truco?

Nuevo Control de Usuario personalizable

🔝To translate this blog post to your language, select it in the top left Google box.


Nuevo Control de Usuario personalizable

Para controlar el mapa del mundo, que estoy desarrollando y que pronto publicaré, he diseñado un nuevo Control de Usuario personalizable, con el que no hay necesidad de saber programar Formularios de Usuario (UserForm) en VBA.

Lo he creado con dos formas (shapes), una con una captura de un rango de celdas con la cámara de Excel, y otra con un control de etiqueta (control ActiveX) con el que detecto los clics con el ratón sobre la forma del nuevo control.

Con este nuevo Control de Usuario puedo mostrar datos de cualquier país y personalizar cualquier acción sobre el mapa: zoom, scroll, voz, etiquetas, reinicio, modo de vuelo, tamaño del control, enlaces externos, etc.

En esta imagen animada está situado arriba a la derecha con los datos de España.

Si quieres saber cómo lo he hecho, o si quieres incorporarlo en tus proyectos, ¡sigue leyendo!


Diseño del nuevo Control de Usuario

El aspecto del nuevo Control de Usuario se ha diseñado en la hoja 'Información', con fórmulas, formatos condicionales e insertando símbolos para las teclas.

El nombre del país está en el rango B2:G3 con hipervínculos creados en una fórmula para visitar el país en la Wikipedia.

El nombre oficial está en el rango B4:G5 y su capital en el rango B6:G6.

La población en el rango B7:G7 y la superficie en el rango B8:G8.

Los idiomas en el rango B9:G10, las monedas en el rango B11:G12 y el Código ISO 3166-1 del país con su abreviatura en 3 letras en el rango B13:G14.

Lo interesante viene en el rango B15:G17 con 18 celdas, en 3 filas y 6 columnas, que serán las teclas virtuales de este nuevo Control de Usuario.

Para situarse en este control se definen el eje X con 6 columnas y el eje Y con 16 filas.

La última tecla pulsada se indica en la celda F20 para el valor de X y en la celda H20 para el valor de Y.

El modo de vuelo seleccionado queda guardado en la celda B20. En este ejemplo solamente puede ser la chincheta por simplificación, pues la selección del país no se hace con el "puntero" que se comentó en artículos anteriores, sino que se hace directamente pinchando en las formas de los países.

He insertado símbolos de la fuente de caracteres Webdings para crear las teclas y caracteres Wingdings para crear las flechas.

El color de las teclas por defecto es azul y cambia a color rojo o a un color de fondo más oscuro con dos formatos condicionales en la hoja 'Información'. Ver la siguiente imagen.

Si usas este nuevo Control de Usuario ya no tendrás que programar Formularios de Usuario tan rígidos sino que podrás diseñar el control dentro de una hoja de Excel con las ventajas de personalización del diseño y de los formatos que se pueden representar dentro de las celdas.


Visualización del nuevo Control de Usuario

En la hoja 'Mapa' se visualiza arriba a la derecha el nuevo Control de Usuario.

Se visualiza con la forma (shape) de la imagen capturada por la cámara de Excel, denominada F_Información

=Información!$B$2:$G$17

con la fórmula apuntando al rango de celdas de la hoja 'Información' que aparecen en el cuadro de control.

Se controla su uso con un control de etiqueta (control ActiveX) denominado: F_Etiqueta_Info.

Este control de etiqueta está por encima de la imagen, para obtener la posición del cursor sobre el control cuando se hace clic sobre él, con lo que se determina qué tecla actúa. Se puede hacer clic en cualquier parte del control.


Programación del Control de Usuario

En la hoja 'Mapa' del proyecto VBA he codificado el evento F_Etiqueta_Info_MouseDown, con el que se obtienen las coordenadas X e Y al hacer clic con el ratón sobre el Control de Usuario.


Este evento llama a la macro: ControlMapa, pasándole la posición X e Y relativa a la anchura y a la altura del control, respectivamente.

Lo importante está en estas dos instrucciones que obtienen la posición relativa en el rango de celdas Información!B2:G17 y escriben X e Y en las celdas F20 y H20 respectivamente:

  • .Range("miTeclaX").Value2 = Int(sgX * 6) + 1
  • .Range("miTeclaY").Value2 = IIf(sgY < 0.73, Int(sgY / 0.73 * 13) + 1, Int((sgY - 0.73) / 0.09) + 14)

Este código deberá ser modificado si el control cambia ese rango de celdas para añadir o quitar filas o columnas.

En la celda F20 ahora se escribe un valor de X del 1 al 6, para indicar que columna se ha seleccionado al hacer clic en el control.

En la celda H20 ahora se escribe un valor de Y del 1 al 16, para indicar que fila se ha seleccionado al hacer clic en el control.

La siguiente instrucción concatena los valores de Y y X en una variable que sirve para seleccionar todos los casos de celdas seleccionadas:

  • iYX = .Range("miTeclaY").Value2 & .Range("miTeclaX").Value2

El primer caso encontrado es el valor: Case Is < 51

que indica que se ha pulsado en una celda cualquiera en el rango B2:G5 y la acción se hará con la macro: IrWeb, que no explicaré aquí.

Si Case 142, se ha pulsado la tecla de la celda C15 y se reiniciará el mapa con la macro: ReiniciarMapa

Para ver todas las acciones contempladas en este ejemplo tendrás que descargar el archivo más abajo.

La macro: ColocarInfo, coloca el Control de Usuario en la hoja 'Mapa', por lo que habrá que modificarla al gusto del usuario final.

Básicamente sitúa las formas del control arriba a la derecha y una encima de la otra.


Vídeo del nuevo Control de Usuario

En este vídeo explico cómo usar el nuevo Control de Usuario y cómo está hecho, por si no te ha quedado claro leyendo lo anterior.


Descarga el nuevo Control de Usuario

Descarga la versión 1.2 desde uno de estos enlaces:

Las macros del archivo descargado están bloqueadas por defecto. Para desbloquear las macros debes modificar las Propiedades del archivo siguiendo estas instrucciones:

Las macros de Internet están bloqueadas de forma predeterminada en Office - Deploy Office | Microsoft Learn

Abre el archivo y presiona el botón: Habilitar edición cuando aparezca el aviso de VISTA PROTEGIDA.

Presiona el botón: Habilitar contenido cuando aparezca la ADVERTENCIA DE SEGURIDAD Las macros se han deshabilitado o se deshabilitó parte del contenido activo.

Las hojas están protegidas sin contraseña y no está protegido el proyecto VBA, por lo que puedes estudiar y analizar el código de las macros.

ATENCIÓN: Se puede modificar este libro de Excel respetando esta licencia:

Creative Commons — Atribución-NoComercial-CompartirIgual 3.0 No portada — CC BY-NC-SA 3.0


Reflexiones

Este ejercicio de diseño y desarrollo lo hago en plan educativo, en primer lugar como reto a mis neuronas para que no envejezcan demasiado pronto, y en segundo lugar como ideas educativas para los maestros que enseñan Excel en sus clases, sin olvidar enseñar a quienes no hayan visto aún un mapa en su vida como usuarios de Excel que ¡sí, se puede!

Pronto publicaré un mapa completo del mundo con todas las funciones y características que voy publicando estas últimas semanas aquí:

Aún me queda añadir la posibilidad de buscar países, que saldrá en el próximo artículo. ¡Estate atento!

My new Excel calculator

🔝To translate this blog post to your language, select it in the top left Google box.


NOTICE: This calculator is designed for educational purposes and personal use. It is not a professional calculator and is provided “AS IS”, without guarantees or responsibilities on the part of the author of this blog. This means that the user assumes all risks associated with the use of this calculator.


My new calculator

My new Excel calculator is based on one I made 12 years ago.

In these two articles I explain the most relevant characteristics of the old calculator, that will help to understand how the new calculator is made:

Calculating minds | #ExcelPedroWave

How to make Excel calculators | #ExcelPedroWave

This last article is in the TOP 5, since it has received more than 31,000 visits, being the fourth of the most visited articles on my blog.

This is the image of my new calculator made in Excel. If you want one, download it below.


Calculator features

The main features of this new calculator made in Excel are:

A) The pressing of the keys by 3 methods:

1) Using the virtual keyboard, being unchecked the Tooltips, a macro is called that detects the key being pressed. It is the elementary method, since all the keys call the same macro.

2) Using the virtual keyboard, being checked the Tooltips, creating the keyboard adds a different hyperlink for each key, using the method: Hyperlinks.Add. It is a more sophisticated method, since each key has a cell associated with it, that is selected with the hyperlink, and the selected cell change event launches the macro that detects the key pressed.

3) Using the physical keyboard, by pressing keys shown in parentheses when you hover over a key, bringing up the information in a Tooltip. For example, with the key 10^x it appears: Ten raised to x (SHIFT+X), so the physical key is the uppercase X. It is the most elaborate method, since a macro has been created for each key, which is called with the method: Application.OnKey


B) The dynamic creation of the calculator keys in 3 cases:

1) When changing the type of calculator, the actual keys are deleted and the new keys of the selected calculator are created. Initially there are 8 calculators in addition to the number 0 that serves as a presentation and help.

2) By checking or unchecking Tooltips, because it is necessary to create or eliminate the hyperlinks of each key.

3) When switching languages, if are checked the Tooltips, because the hyperlinks of each key must be created in the selected language.


C) Customizing calculator keys and recording a new one in 5 steps:

1) Select one of the existing calculators.

2) Disable the physical keyboard to be able to clear the keys with the key: Delete

3) Select and delete the keys that will not appear in the new calculator.

4) Change the size and position of customized keys.

5) Save the new calculator by typing a descriptive name.


D) The 8 features that make this new version of my calculator unique:

1) It is made in Excel with VBA macros, being compatible with desktop versions, from Excel 2010 to Excel for Microsoft 365.

2) Calculation results are viewed in a seven-segment display, being able to easily choose its color, by clicking on one of the colors in row 1.

3) You can see how each key is dynamically created when you change the calculator type, by checking: Floating.

4) The calculator is translated into 6 languages, being able to add more languages.

5) It is a touch calculator, if the screen is touch screen, being able to hide key groups by clicking on the below keys.

6) With 4 new keys to change the Zoom, making the calculator bigger or smaller.

7) With a new date and time key, with the year represented by: yyyy, in 3 different date formats:

8) It is a scientific calculator in Floating-point arithmetic. It is the main innovation of this new version, since the old calculator only operated in Fixed-point arithmetic, being able to operate the new calculator with very small or very large numbers, like the one that appears in this image:

For numbers in scientific notation the notation E is used, with the same limits of the VBA language for the double data type:

  • -1.79769313486231E308 to -4.94065645841247E-324 for negative values
  • 4.94065645841247E-324 to 1.79769313486232E308 for positive values

If during any calculation these limits are exceeded, an overflow appears represented as: -E-

If the exponent is positive, it is represented only with the letter E, for example: 4.E3 is equivalent to 4x10^3

If the exponent is negative, it is represented by the letter E and the minus sign, for example: -2.E-3, equals -2x10^-3


Calculator video-tutorial

In this video-tutorial I explain how to use this new calculator.

Select the captions in your language to understand the video-tutorial.


Download the calculator

Download version 5.0 from this link:

The downloaded file's macros are blocked by default. To unlock the macros you must modify the Properties of the file following these instructions:

Open the file and press the button: Enable editing when the PROTECTED VIEW notice appears.

Press the button: Enable content when the WARNING appears SECURITY Macros have been disabled

The sheets are protected without a password and the VBA project is not protected, so you can study and analyze all the code. You can even modify it respecting the license:

Creative Commons — Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)


Feedback of the new calculator

I accept criticism and suggestions if you use and try this new calculator.

To improve this calculator I need to know its bugs, its deficiencies and their possible improvements and, if you give me feedback, I will thank you and I will commit to improve the calculator in future versions during the next few years, I don't expect so many to pass...

And so I finish the series of 4 articles on keyboards and their keys, which I have been publishing for more than a month, and which you can find at this link:

keyboard | #ExcelPedroWave

International Virtual Keyboard in Excel

Download for free at the end of this article the renewed version of the International Virtual Keyboard most complete that exists worldwide made entirely in Excel.

It has all the functions of a few keyboards in a single Graphical user interface. Check it out for yourself!

This virtual keyboard is used for touch screens or as a substitute, if the physical keyboard breaks down. It is also useful for learning and testing various keyboard layout in several languages or in the Dvorak keyboard layout.

You can even create your own keyboard! adding a column in the 'Teclas' sheet.


Background of the Virtual Keyboard in Excel

10 years ago I allowed myself the audacity to modify the original idea of a virtual keyboard of a genius of macros, to make it international.

The idea came from Macro Antonio, a VBA macro expert and friend on Excel forums, who posted his version of a virtual keyboard.

Another of the best Excel forum members I had the pleasure of meeting was verzulsan, who improved the keyboard to repeat the keys in "machine gun" mode, and I made the international version and posted it on my blog:

International virtual keyboard | #ExcelPedroWave

3 weeks ago, a follower of my YouTube channel warned me that the keyboard "only works on old 32-bit systems", which made me review it and I decided to update it, adding the PtrSafe keyword to make it work in 64-bit Excel.

In addition, I myself had written a note in said article: "The Alt key doesn't generate the encoded characters, for example Alt+21 = §"

Then I realized that a follower of the blog had commented 6 years ago that: "Fonts on the page is blank, the fonts are not visible."


Features of the new Virtual Keyboard in Excel

So this International Virtual Keyboard, made entirely in Excel!, incorporates the following new features:

  • Compatible with any 32-bit and 64-bit version of Excel.
  • New dropdown ComboBox with default Zoom: 100; 125; 150; 175; 200. With the ScrollBar you can continue changing the Zoom.

This is how the revamped International Virtual Keyboard looks like with different keyboard layouts in several languages:


Instead of pressing the keys of a physical keyboard, try pressing the keys of this International Virtual Keyboard, with the following functions:

  • Design the keyboard doing it entirely in Excel, with a user form: UserFormTeclado built dynamically with VBA macros.
  • Translate the keyboard to multiple languages: Español, Latinoamericano, English, Français, Italiano, Deutsch, Português, with the possibility of adding more languages on the 'Teclas' sheet, or even your own custom keyboard.
  • Change the layout of the keys: QWERTY, QWERTZ (German), AZERTY (French) and Dvorak keyboard layout in Spanish and English.
  • List all Windows text fonts and format the text according to the chosen font.
  • Save in the 'Personal' sheet the zoom and the last font, size and text properties.
  • Show the symbols of the special keys according to the international standard ISO/IEC 9995.
  • Include the special keys: Enter, Tab, Ctrl, Alt Gr, Shift, Caps Lock, Num Lock, Windows key, Menu, Insert, Delete, Home, End, Page Up, Page Down and cursor movement arrows.
  • Operate the numeric keypad as a basic calculator.
  • Hide or show the numeric keypad.
  • Expand the text box with double click.
  • Other minor improvements, such as positioning the keyboard on the screen.
  • Insert ASCII and Unicode symbols with the key combination Alt + decimal code. This function is explained below.


How to enter special symbols with the Alt key

To enter ASCII and Unicode characters:

  • On a physical keyboard, hold down the Alt key and type the decimal code of the ASCII or Unicode character with the numeric keypad. When you release the Alt key, the special symbol appears.
  • On the virtual keyboard, press the Alt key (which remains marked), write the decimal code of the ASCII or Unicode character with the numeric keyboard. The Alt key is pressed again and the special symbol appears.

Codes with the Alt key are divided into 3 groups:

  • 255 BIOS ASCII codes: Alt+1 to Alt+255
  • 128 ANSI codes or Windows Alt codes, with the number 0 in front: Alt+0128 to Alt+0255
  • 149186 Unicode codes, with the decimal code of the 1 to 6 digit Unicode character. It should be noted that in this virtual keyboard you cannot enter hexadecimal codes, only decimal codes. For example: Alt+129412 represents the Unicorn symbol: 🦄 (hexadecimal code: 0x1F984)

Some interesting pages about Alt key codes:

Alt code - Wikipedia

List of Unicode characters - Wikipedia

ALT Codes | Windows ALT Key Codes for Characters & Symbols (altcodeslist.com)

Emoji Group: Animal & Nature 🐶 🌻 🐯 (altcodeunicode.com)


Video tutorial of the International Virtual Keyboard

In this video tutorial I explain how to use this International Virtual Keyboard.

Select your language caption to understand the video.


Download the International Virtual Keyboard

Download version 2.0 from one of these links:

The downloaded file's macros are blocked by default. To unlock the macros you must modify the file Properties following these instructions:

Macros from the internet will be blocked by default in Office - Deploy Office | Microsoft Learn

Open the file and press the button: Enable editing when the PROTECTED VIEW notice appears.

Press the button: Enable content when the SECURITY WARNING appears Macros have been disabled

The sheets are protected without a password and the VBA project is not protected, so you can study and analyze all the code. You can even modify it respecting these license:

 

Creative Commons —  Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)


Competitors of this Virtual Keyboard in Excel

Compare this keyboard with the Google virtual keyboard on this page:

Try Google Input Tools online

Google's virtual keyboards are built into Google Translate, for example:

Pressing on the keyboard (within the red rectangle) selects the text input tool, for example in English: ⌨️ English; ⌨️ English DVORAK; ✏️ English touch writing.

The main advantage of Google's virtual keyboard over mine is that when you press the physical keyboard keys, it sends the virtual keyboard keys instead.

It will be an issue to consider if I decide to improve these Virtual Keyboard.

In the meantime you can read my previous articles on keyboards and special characters in Excel from here:

keyboard | #ExcelPedroWave

Excel keyboard shortcuts Test

With this Excel keyboard shortcuts Test on Windows you'll be able to remember more key combinations than with any other keyboard shortcut method.

To get good results in this test, I recommend you to study the shortcuts keyboard by reading my previous article:

Keyboard shortcuts in Excel | #ExcelPedroWave

This new test is designed in 4 sheets, 2 visible and 2 hidden.

I'm only going to explain how to do the test in the 'Test' sheet and how see the test results on the 'Results' sheet.


'Test' sheet

Tests are performed on the 'Test' sheet.

Each test consists of 20 questions, and you have to answer them in less than 5 minutes.

The question header indicates what type of shortcut is being asked. In the image example: Formatting cells.

Each correct answer adds 5 points, so you can get from 0 to 100 points in each test.

4 possible answers are shown and only one of them is the correct answer.

Type the answer number in cell B14, from 1 to 4, that you think is the right answer.

Whether the answer is correct or incorrect is indicated in cell C14.

The times of the question, of the answer and the total time of the question are recorded.

To continue with the test, press the Delete key or the number 0 and the Return key.


'Results' sheet

On the 'Results' sheet are the 20 questions of a test with their answers.

Only wrong answers are shown and correct answers are hidden, so as not to give clues.

The result of the test is indicated, with the points obtained, the number of answers, the time of each answer and the total time of all answers.


Take the cloud keyboard shortcuts test

Try the Excel keyboard shortcuts Test without leaving this page!

To adjust the zoom of this test:

  • On the mobile or cell phone, use two fingers on the screen, as you do to expand or reduce a photo.
  • On the PC, place the cursor inside the browser and press the Control key, turning the mouse's wheel.

All sheets are protected without password and the workbook doesn't contain macros, because it is designed only with formulas, so the iterative calculation performs the test.

There are 2 hidden sheets, one with the test settings and the other with all the questions and answers, so I encourage you to analyze each of the 4 sheets and gut their formulas, with which you will learn new techniques of calculus and improve your Excel skills.

Ask me if you have questions about how I have done this interactive test in the cloud from Microsoft OneDrive.

Keyboard shortcuts in Excel

If you know and use all of the keyboard shortcuts in Excel, you're sure to that make your life more productive, read no further.

Read on for more keyboard shortcuts in Excel if you don't like to learn from the lists that are published on thousands of Excel websites, because you cannot find the shortcut you are looking for or because it is not easy to find it on those websites, not even on the official Microsoft website:

Keyboard shortcuts in Excel - Microsoft Support

Keep reading below and you'll find any of the keyboard shortcuts in Excel.

With my method you can search for any key combination using a drop-down list of keyboard shortcuts, or by searching for any word or key entered in cell B3.

ATTENTION: In that animated image is searched for: +F9, with a plus sign before it. For this, the orthographic sign of apostrophe (') must be introduced before the sign plus (+), so it isn't interpreted as a formula. For example: '+F9

The same happens if you start looking for the minus sign (-) or for the equal sign (=).

Using the drop-down menu for cell C2, the system is selected:

  • Android
  • iOS
  • macOS
  • Web
  • Windows

In cell B2 there is a hyperlink to the Microsoft page with the keyboard shortcuts in Excel for the chosen system.

It is interesting to note that Excel for the Web has different keyboard shortcuts than Excel for desktop.


Cloud keyboard shortcuts searcher

With this keyboard shortcuts search engine it will be easy to find the combination of keys that you need at all times, for keyboards in English and for any operating system with Excel, and even for Excel for the Web. And all, without leaving this page!

To adjust the zoom of this shortcuts searcher:

  • On a mobile or cellphone, use two fingers on the screen, as you do to expand or reduce a photo.
  • On the PC, place the cursor inside the browser and press the key <Control> turning the wheel of the mouse.

IMPORTANT: I have included some Undocumented keyboard shortcuts for Windows and for Excel for the Web, which are not found on the official Microsoft website discussed at the beginning of this article. Missing include undocumented methods of the other systems.

This search engine cannot be updated in the cloud, as it contains connections from external data that is not supported by Excel for the Web.

If tried it will give a WARNING: THE DATA COULD NOT BE UPDATED. Power Query queries in Excel for the Web cannot be updated on workbooks saved to a location on the third party cloud.

Although what really happens in this case is that the update of the queries loaded into the data model is not yet supported in Excel embedded in websites.


Download keyboard shortcuts searcher

If Microsoft modifies or adds any key combination on the official website with the Keyboard shortcuts in Excel, you'll have to download version 1.2 from this link:

Open the file and press the button: Enable editing when it appears the PROTECTED VIEW notice.

Press the button: Enable content when the WARNING appears SECURITY External data connections have been disabled

To update the keyboard shortcuts of the 43 queries with Power Query, you must select on the ribbon: Refresh All or the key combination: Control+Alt+F5 

The file has the 'Keyboard Shortcuts' sheet protected without a password, so that users don't trash the formulas. The book is also protected without a password, to protect its structure.

There are 45 hidden sheets, 43 of them with the results of the queries with Power Query to the official Microsoft commented website at the beginning of this article, and 2 of them to carry out the search, so I encourage you to that you study each of the sheets, gut their formulas and analyze the queries, if you want to improve your Excel skills.

Nuevos idiomas Emojis con Power Query

En el artículo anterior publiqué un Buscador de Emojis preparado para Windows 11, que se puede descargar desde aquí:

Buscador de Emojis en Windows 11 | #ExcelPedroWave

Incorpora dos idiomas de búsqueda de las palabras claves y de las descripciones de los Emojis en Español y en English.

En este artículo explicaré Cómo añadir más idiomas a este Buscador de Emojis, usando la herramienta ETL (Extract - Transform - Load): Power Query en Excel, con la que extraeremos el idioma que se desee de un archivo XML, con las descripciones y las palabras claves de búsqueda de los Emojis, cargándolos en una nueva hoja con los textos en esa lengua 👅


Descargar más idiomas en el Buscador de Emojis

Los archivos con los idiomas de los Emojis los publica la organización:

Unicode.org | CLDR - Common Locale Data Repository

CLDR es un Repositorio de Datos Localizados Comunes, que proporciona nombres cortos y palabras clave de búsqueda para los nuevos Emojis, de modo que las implementaciones puedan basarse en ellos para proporcionar, por ejemplo, escritura anticipada en teclados, que es lo que he hecho en las dos versiones del Buscador de Emojis que he publicado.

Para añadir más idiomas a la segunda versión del Buscador de Emojis, publicada en el artículo anterior, se deben seguir estos pasos:

1) Visita esta página:

Unicode.org | CLDR Release 

2) Descarga el archivo: cldr-common-40.0.zip

3) Descomprime el archivo anterior.

4) Abre las carpetas: \common\annotations

5) Copia los archivos con los idiomas que queramos, de los 146 archivos posibles, desde la carpeta: annotations

Estos archivos contienen la descripción y las palabras clave de búsqueda de los nuevos Emojis en más de 100 idiomas.

Su nombre comienza por las dos letras que indican el idioma, según la norma ISO 639 — Language Codes, por ejemplo:

  • es.xml: para el idioma Español.
  • en.xml: para el idioma English.

Estos dos archivos ya están incorporados por defecto a la 2ª versión del Buscador de Emojis, que se puede descargar desde aquí:

Buscador de Emojis en Windows 11 | #ExcelPedroWave

El formato de esos 146 archivos es del tipo XML (eXtensible Markup Language), especialmente dedicado a la comunicación de datos localizados, mediante el formato:

Unicode.org | Locale Data Markup Language (LDML)

Este Lenguaje de Marcado de Datos Localizados es un formato común para que los sistemas intercambien datos localizados y para que puedan obtener los mismos resultados en los servicios proporcionados por las bibliotecas de internacionalización de Emojis.

Para conocer las condiciones de uso de estos archivos, consulte su página de Copyright:

https://www.unicode.org/copyright.html


Cómo buscar Emojis en otras lenguas

Como ejemplo al Buscador de Emojis le vamos a añadir el idioma Portugués.

Estos son los 27 pasos a seguir (al final de este artículo puedes ver un vídeo con estos mismos pasos):

1) En la misma carpeta con el Buscador de Emojis, copia el archivo: pt.xml

2) Con una versión reciente de Excel abre el archivo: Buscador Emojis Unicode Look Up PW2.xlsx

3) Habilita las conexiones de datos externos.

4) Selecciona en la cinta de opciones: Datos > Obtener datos > Configuración del origen de datos...


5) En la Configuración de origen de datos debe estar marcado: Orígenes de datos en el libro actual y presionar el botón: Cambiar origen...


6) En modo XML Básico, presionar el botón: Examinar...


7) Importar datos del archivo descargado previamente con el idioma portugués: pt.xml


8) Teniendo seleccionado Abrir archivo como: Tablas XML, presionar el botón: Aceptar y a continuación el botón: Cerrar


9) Selecciona en la cinta de opciones: Datos > Consultas y conexiones


10) Aparecen 4 conexiones en Consultas y conexiones con: Solo conexión.

Hacer clic con el botón derecho del ratón en la consulta CP y seleccionar en el menú contextual: Cargar en...


11) Seleccionar: Tabla y Hoja de cálculo nueva y presionar el botón: Aceptar


12)  Se habrá creado una nueva hoja CP con 1.910 filas.

NOTA: Las siguientes instrucciones no están explicadas en el vídeo y hacen falta para no borrar la conexión CP, para poder añadir futuros idiomas...

Copiar la hoja CP en otra hoja haciendo clic con el botón derecho del ratón sobre el nombre de la hoja y en el menú contextual seleccionar: Mover o copiar...

Seleccionar: (mover al final), marcar: Crear una copia y presionar el botón: Aceptar. Se habrá creado la hoja CP (2)

Eliminamos la hoja: CP

13) En la hoja CP (2) eliminamos la columna C: Attribute:draft

14) Eliminamos la consulta de la hoja CP (2), seleccionando la celda A1 y seleccionando en la cinta de opciones: Consulta > Eliminar

En esta ventana presionar el botón: Eliminar


15) Renombrar la hoja CP (2) con las dos letras que identifican al idioma Portugués: PT

16) Copiar la fila 1 de cabecera de la hoja ES en la hoja PT.

17)  Seleccionar en la cinta de opciones: Vista > Inmovilizar > Inmovilizar fila superior

Y desmarcar: Líneas de cuadrícula 


18) Seleccionar en la cinta de opciones: Diseño de tabla > Estilos de tabla

Y seleccionar un estilo del tipo: Gris claro medio.

19) Seleccionar la hoja PT y cambiar el color de la pestaña a negro.

20) Cambiar nombre de la tabla: TablaPT

21) Ordenar la tabla de la A a la Z por la columna B ✍, con la descripción de los Emojis.


22) Ocultar las filas 1912 y siguientes y las columnas D y siguientes, para que sólo se vea la tabla.

23) Proteger la hoja PT sin contraseña, marcando:

✔️ Seleccionar celdas bloqueadas

✔️ Seleccionar celdas desbloqueadas

✔️ Usar Autofiltro

24) Desproteger la hoja Emojis.

25) En una nueva fila de la TablaIdiomas, escribir: PT y Portugues

26) Proteger la hoja Emojis sin contraseña, marcando:

✔️ Seleccionar celdas bloqueadas

✔️ Seleccionar celdas desbloqueadas


27) Seleccionar con el desplegable de la celda H12 el idioma: Portugues


¡Ya podemos buscar Emojis en portugués!


Vídeo de cómo añadir una lengua al Buscador

Si no te han quedado claro los pasos a seguir, mira este vídeo para saber cómo añadir una nueva lengua al Buscador de Emojis:


¿Te animas a añadir alguna lengua más al Buscador de Emojis?


Consultas en Power Query para extraer la lengua

Para examinar y/o editar las consultas necesarias en Power Query en Excel para añadir un nuevo idioma hay que seleccionar en la cinta de opciones: Datos > Obtener datos > Iniciar Editor de Power Query

Son estas 4 consultas:

1) annotation - con el origen del archivo en formato XML con el idioma.

Instrucciones paso a paso en lenguaje M de la consulta annotation:


2) annotation_tts - con las descripciones de los Emojis.

Instrucciones paso a paso en lenguaje M de la consulta annotation_tts:


3) annotation_text - con las palabras clave de búsqueda de los Emojis.

Instrucciones paso a paso en lenguaje M de la consulta annotation_text:


4) CP - con las descripciones y las palabras clave de búsqueda de los Emojis.

Instrucciones paso a paso en lenguaje M de la consulta CP:

Son 4 consultas solo conexión aunque, como he explicado en este artículo, la última es la que se debe cargar como tabla en una hoja con los textos de los Emojis en el nuevo idioma.

El próximo artículo será sobre Cómo desplegar valores únicos ordenados mediante validación de datos, eliminando los errores y los espacios en blanco, para que en el desplegable de la celda solamente aparezcan los valores válidos. Este es el enlace al nuevo artículo:

Desplegable con valores únicos ordenados | #ExcelPedroWave

Mi lista de blogs