So last week, I learned that VBA buttons are supremely helpful. For moving data between workbooks or breaking down information from a KML file, these are ideal. Especially the KML file importer because it’s basically populating a full on spreadsheet.
But if you want to have a function run very specific math or customized scraping on a string that’s only going to affect one cell, go with the UDF. Sounds like a terrible disease, doesn’t it? In Excel, it stands for User Defined Function.
Continue reading “VBA: How to Write Your Own Function”
Just when I thought I was going to have a nice, relaxing Processing weekend, I realized my Airbnb scraper is broken. Fun fact: If they change their HTML, this script is WILDLY unlikely to work. I’m getting the sense that Airbnb is going to be the wild duck to my Sumatran tiger.
Since the scraper is how I’m gathering data for all the other scripts I’m trying to write, I spent the weekend fixing it.
Continue reading “AHK: How to Fix an Airbnb Scraper”
I know shockingly little about Excel. And that is somewhat unsettling because most of my jobs, which I depend on for food and rent and coffee, require a fuck-ton* of spreadsheets.
In the interest of keeping myself rolling in coffee grounds, I’ve made myself sludge through VBA tutorials this weekend and put together a few lines that’ll transfer a cell from one workbook to another.
*Is fuck-ton hyphenated?
Continue reading “VBA: What? Just… What?”
For future reference, I’m posting the code at the top. Details follow below.
STEP 1: Make a new AutoHotkey file. Don’t know what that is? Don’t worry. It’s real easy. Click here.
STEP 2: Go into your C Drive. Make a folder called Folders1_200.
STEP 3: Right click your new AutoHotKey Script → Edit Script.
Continue reading “AHK: How to Make a $hit Ton of Files in 60 Seconds”