Avatar of ParaGlow
ParaGlow
 asked on

Macro to convert a text file to Excel

I have a very large text file of more than a million rows of data.  I need a macro which will convert it to several Excel files.  Each Excel file must have two worksheets and each worksheet will have 200,000 rows of data.  Macro will prompt user to navigate to the drive and folder where the text file is saved.  If text file has 1.2 million rows of data, macro will create 3 Excel files each with 2 worksheets.  Each worksheet will have 200,000 rows of data.   Thanks.
Microsoft ExcelMicrosoft OfficeMicrosoft Applications

Avatar of undefined
Last Comment
ParaGlow

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
BillDL

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ParaGlow

ASKER
There can be up to 20 columns.  | is used as delimiter.  Thanks for your response.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes