VBA-tools / VBA-JSON

JSON conversion and parsing for VBA
MIT License
1.76k stars 568 forks source link

JsonConverter.bas won't run as it is HTML #167

Closed VidarParry closed 4 years ago

VidarParry commented 4 years ago

Hi all, I have downloaded and installed JsonConverter.bas in accordance with the install instructions. I am using Excel 2016 (Office 365).

As soon as I run my VBA script I get an error "Compile Error: Expected: line number or label or statement or end of statement". The cursor displays the first < of the line <!DOCTYPE html> line in the JsonConverter.bas Module.

What am I doing wrong?

Many thanks! Cheers ...Steve

VidarParry commented 4 years ago

Found the problem. If you download the file (right click>save link as) rather than use the download ZIP button it downloads HTML.