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

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -