Entradas

Mostrando las entradas con la etiqueta Google Sheets

How to Get Exchange Rates in Excel Automatically Using a Free API (VBA Step-by-Step)

Imagen
How to Get Exchange Rates in Excel Automatically Using a Free API (VBA Step-by-Step) Automate exchange rates in Excel in minutes. In this guide, you’ll learn how to retrieve currency data from multiple countries (including African currencies) using a free API and VBA. This example is perfect if you work with financial reports, currency analysis, or need updated data without manual input. 🚀 What will you learn? How to get real-time exchange rates in Excel How to use a free API (no API key required) How to automate Excel with VBA How to retrieve multiple currencies (USD, MXN, EUR, ZAR, NGN, etc.) 🌍 Free Exchange Rate API For this example, we will use the following free API: 👉 https://open.er-api.com/v6/latest/USD Advantages: No API key required 150+ currencies available Includes African currencies Daily updated data (not historical) 💻 VBA Macro to Get Exchange Rates in Excel Copy and paste this code into a VBA module: Sub GetExchangeRates(...

Google Sheets: Crea una Sopa de Letras Interactiva con Script

Imagen
Creación de la cuadrícula: Define el tamaño , en mi caso utilice una cuadricula de 10x10 Utiliza la función "ALEATORIOENTRE"  para generar letras aleatorias en cada celda. Por ejemplo, en la celda A1 puedes escribir:  =CHAR(INT(RAND()*26)+65)  para generar una letra aleatoria mayúscula. Copia esta fórmula a todas las celdas de la cuadrícula. Inserta las palabras que definiste anteriormente.  Puedes hacerlo manualmente o utilizando la función BUSCARV si quieres que las palabras aparezcan en un orden específico Otra forma de hacerlo fue con un script o macro Abrir el Editor de Scripts : Ve al menú Extensiones > Apps Script . Crear un Script : Borra cualquier código que aparezca y reemplázalo con el siguiente script: javascript function fillEmptyCellsWithRandomLetters () {   var sheet = SpreadsheetApp . getActiveSpreadsheet (). getActiveSheet ();   var range = sheet . getDataRange (); // Selecciona todo el rango de datos   var values = range . g...

🚀 Mantener este blog funcionando requiere tiempo y café. ¡Puedes contribuir con uno aquí!