Siilats Robots
Tools & data lessons

Automate a Stock Data Spreadsheet With an Excel VBA Macro

Automate a Stock Data Spreadsheet With an Excel VBA Macro. Screen-share lesson by Keith Siilats from the technical screen-share archive.

Watch the original lesson

Screen times follow the original lesson. Edited YouTube versions may run shorter.

At 1:49 in the original

Step through the VBA loop

Trace the row offset across repeated blocks. Use a small sample to catch off-by-one errors before filling formulas.

Screen recording at 1:49
Screen at 1:49
At 4:54 in the original

Copy the ticker into the output column

Check that every output row carries the correct ticker and date. A long-format table is easier to import and query.

Screen recording at 4:54
Screen at 4:54
At 8:19 in the original

Review the output prices

Verify the first and last rows for a ticker and confirm that the macro leaves a consistent table for export.

Screen recording at 8:19
Screen at 8:19