Converting a Text file to Excel

  • Thread starter Thread starter ExcelUser
  • Start date Start date
E

ExcelUser

Without going thru the Wizard, is there any way to covert
a text file into an excel spreadsheet (just executing
an .exe or .bat file)? We have a requirement to automate
the conversion of text file into excel with some
predifined formating. Thanks for help.
 
in code, you can use the workbooks. Opentext method

for example

SET WB = Workbooks.OpenText(sFileName)

Patrick Molloy
Microsoft Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top