LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Generating a column based on import file name

Hi all,
I have a macro which imports a selection of files to the active
worksheet (one after another). It does the job fine. The text files
are named as follows: B1020607.txt - where the last 6 digits are the
date of the file.

I need (somehow) for the first column in my worksheet to display the
date of the worksheet - to extract it somehow from the filename and
place it in the relevant places.

The macro to import the text files can be read at this location
(Thanks to Ron):
http://groups.google.co.uk/group/mic...339530d?hl=en&

If anyone can help with this problem it will be greatly appreciated.

Thanks in advance,
Scott.

 
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
Import text file contents based on path crazybass2 Excel Programming 4 November 11th 07 01:23 PM
How to import text file into one column Jeff[_4_] Excel Discussion (Misc queries) 4 October 20th 07 03:15 PM
Generating a Weekly Report based on a Date Range, where 1 Column = 1 Day Arnold[_3_] Excel Programming 1 February 11th 07 11:40 PM
Import data from one xls file to another based on criteria Hardhit Excel Discussion (Misc queries) 0 February 15th 06 08:03 PM
Specifying Row / Column in Import File Data Gladiator Excel Discussion (Misc queries) 2 January 6th 06 03:38 PM


All times are GMT +1. The time now is 12:13 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"