Hi all,
i m attaching excel sheet where i have to paste the data from txt files that come to me on floppies (18 floppies from 18 departments)
the floppies have data in rows. i have to omit first and last row of that txt file and copy all the rest rows in column H of my sheet Named "DATA". you may understand that this data has to be pasted one below the other in subsequent rows.
i then use MID formula to get the information from this data into column A to column F
MY PROB IS
that i want a button on my sheet DATA that i click to get data from inserted floppy in drive A.
code must check the file name
which is named in a convention as under
Example:
ICI short name of deptt
1 or 2 zone number which is always 1 or 2 and i have 2 DATA sheets i.e. DATA for zone 1 and DATA2 for zone 2
then comes the four digits for date and month
1211 where 12 is date and 11 is NOV month
help a code that reads the file with current (today's) date only and ignores all other files if any on the floppy. it should also ignore zone 2 if i m on DATA and it shud ignore zone 1 if i m on DATA2.
here i need two separate codes for my two sheets namely DATA and DATA2. DATA gets files for Zone 1 and in the second session the DATA2 gets files for Zone 2.
i know my prob is some tough but you guys are great at codes and i hope to get the solution.
thnx in advance
Bookmarks