+ Reply to Thread
Results 1 to 3 of 3

Add header to the file

  1. #1
    Registered User
    Join Date
    01-17-2017
    Location
    Brussels, Belgium
    MS-Off Ver
    2010
    Posts
    16

    Add header to the file

    I have following code to export file with the name and with the data I need.

    Please Login or Register  to view this content.
    I want to insert to this file a header which should be in the following form:

    Please Login or Register  to view this content.
    I've tried to put it together different ways but it didn't work.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Add header to the file


    Hi !

    After opening the text file, just use Print # statement !

  3. #3
    Registered User
    Join Date
    01-17-2017
    Location
    Brussels, Belgium
    MS-Off Ver
    2010
    Posts
    16

    Re: Add header to the file

    Thanks it's working

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. To extract header and trailer from a csv file without opening it
    By saurabh gadgil in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-11-2014, 04:48 PM
  2. [SOLVED] Importing File Name Into Header
    By mkelsay91 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-29-2013, 09:53 AM
  3. Create a new file for every row and take the header with it on the new file
    By Tropic32 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2010, 03:23 PM
  4. Format header to file name from different sheet.
    By Slomaro2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2008, 02:39 PM
  5. Adding a header to a CSV file
    By Tom Cameron in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-15-2006, 10:00 PM
  6. [SOLVED] How do I include file name and path in the header?
    By Matthew Connellan in forum Excel General
    Replies: 4
    Last Post: 05-23-2006, 11:55 AM
  7. [SOLVED] File Extension (.xls) In Header
    By uncreative in forum Excel General
    Replies: 3
    Last Post: 04-13-2006, 01:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1