excel - How to directly upload contents from a JSON file -


i need upload data text file excel. it's json data. it's around 50kb. if regularly upload cell, excel freezes. there way upload contents of file directly vba variable?

found it, solution here , works:

http://analystcave.com/

dim filename string, textdata string, textrow string, fileno integer filename = "c:\text.txt" fileno = freefile 'get first free file number    open filename input #fileno while not eof(fileno)    line input #fileno, textrow    textdata = textdata & textrow loop close #fileno 

Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -