Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Importing a CSV file, would like to skip first row in Excel

I am trying to import a CSV file that is generated as a log on a
machine that we have. I have created my own custom headings for the
columns in the first row of the Excel Doc. I am able to import
starting on the second row of the CSV file to remove the existing
headings, but the data still overwrites my headings since it wants to
start the import on the first row of the Excel file.

I cannot edit the existing headings that the machine outputs in the
logs. I would like to find a solution that is as user-friendly as
possible.

Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Importing a CSV file, would like to skip first row in Excel

abright,

Import the whole file (including the header row), then use code like this to
put in your desired headings:

Range("A1").Value = "Heading for column A"
Range("B1").Value = "Heading for column B"

etc...

HTH,
Bernie
MS Excel MVP



"abright52" wrote in message
oups.com...
I am trying to import a CSV file that is generated as a log on a
machine that we have. I have created my own custom headings for the
columns in the first row of the Excel Doc. I am able to import
starting on the second row of the CSV file to remove the existing
headings, but the data still overwrites my headings since it wants to
start the import on the first row of the Excel file.

I cannot edit the existing headings that the machine outputs in the
logs. I would like to find a solution that is as user-friendly as
possible.

Thanks in advance.



Reply
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
Importing Text File into Excel Martin Excel Discussion (Misc queries) 1 April 2nd 06 02:48 PM
importing text file in excel UT Excel Discussion (Misc queries) 0 March 16th 06 10:20 PM
Importing File Structures to Excel asummers Excel Discussion (Misc queries) 3 February 23rd 06 01:42 PM
Importing .pdf file into Excel mbparks Excel Discussion (Misc queries) 0 February 9th 06 01:44 AM
importing another file format into Excel Leesa Excel Discussion (Misc queries) 1 May 13th 05 03:43 AM


All times are GMT +1. The time now is 12:36 PM.

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

About Us

"It's about Microsoft Excel"