Script Scraper

Pull Data from the Internet into Excel Spreadsheets.

Variables

A variable is used to refer to something in your script such as a number, string or object.

You could have a variable named 'dataURL' and assign it a string such as 'http://scriptscraper.com'.

The 'var' keyword is used to create a variable. Here a variable named counter is created and set to the initial value 25

var dataURL = "http://scriptscraper.com";
Variables can also be created without using the var keyword, such variables have global scope should be used less frequently.

As its name suggests you can then change the variable to refer to a new value.

dataURL = "http://www.google.com";