Excel VBA: QueryTable Most Compatible Settings

I am attempting to pull data from a .csv to an Excel file. I figured a good way to do this is to use QueryTables. Nonetheless, I have some questions about doing this:

1) Is using a QueryTable to pull .csv data the best way? (Stability then speed are the most important to me.)
2) What is the best QueryTable settings that will work no matter what version of Windows someone is using. (i.e., Windows 7, Windows8, Windows 10, 64 bit or 32 bit.)

The reason I ask is there are different opinions on what to use for the .textfileplatform property on a query table and I still don't understand exactly what it does. Some people say use textfileplatform = 850, while others say use textfileplatform=437. In all reality, I would just like some solid code that will import .csv data no matter what someones Windows setup is.

A sample link of QueryTable code is here: https://msdn.microsoft.com/en-us/library/bb221760(v=office.12).aspx
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
Can you not just open the CSV directly?

Sub ImportFile()
Set junk = Workbooks.Open("C:\test.csv")
End Sub

Open in new window

If you need to do anything "fancy", just extend the code.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
yo_beeDirector of Information TechnologyCommented:
By default your Excel is an associated application and if you either double click to open the file or do File | Open | Browse for the csv it will open properly formatted.  From there you will want to save as xlsx file if you apply formatting or additional tabs.  
There is no need to do a Data |Import  process.  If the file has a different delimiter then you will need to go down a different path.
ouestqueAuthor Commented:
Thank you!
slightwv (䄆 Netminder) Commented:
Glad to help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.