LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Extract data from csv file


I will look at thsi tonight. To run the code you need to use VBA
(Visual Basic) programming language that is part of Excel. If you open
Excel and right click the tab (normally says sheet1) at the bottom of
the worksheet and select "View Code". the from the VBA menu add a
module using the menu Insert - Mode. then you cna paste the code from
the posting into the module and run the code. the code won't run
properly because the columns in your CSV file is different from the code
you posted. The changes are minor.

The Code opens CSV files and puts them into an Excel XLS workbook. So
yo uwould save the results asa a workbook even thought your files were
originally CSV files. I could save tthe results either as a CSV file or
leavve them in a XLS workbook.


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=180054

http://www.thecodecage.com/forumz/chat.php

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract matching data from large data file (csv) Utahstew Excel Programming 8 April 14th 08 03:57 AM
How to extract data from File Path DK Excel Programming 16 June 14th 07 01:03 AM
Extract Certain Data from closed file joecrabtree Excel Programming 2 November 30th 06 04:22 PM
extract data from a text file Spike Excel Programming 6 June 3rd 06 06:44 PM
Extract data from an old Quattro file Chuck[_11_] Excel Programming 4 October 2nd 05 04:11 PM


All times are GMT +1. The time now is 10:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"