How can I load a csv as a sheet of the current workbook in Excel-vba 2007 ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suppose you would need to save it as a csv file. Something like this:
See here for more on how to use the SaveAs method.
Is this what you’re after?
EDIT
Or if what you’re after is to import a csv file like Jerry answered but with VBA, then I believe you use the OpenText method.