Orange Womble
New Member
- Joined
- Oct 13, 2009
- Messages
- 11
Hi All
(and thanks for any previous help you may have inadvertently given me!! )
[I usually manage to get through by reading others' posts and/or breaking things into smaller chunks however this time i am stuck]....
I'm pulling in about 110k lines (will get bigger in time) from a ".txt" file and wanting the dates to all come in correctly....
(I also found and read http://www.mrexcel.com/forum/showthread.php?t=307804 - but can't figure out what I should steal from there if anything - i read the MSKB but that surely won't work for me as I'll be distributing the macro to others once written).
I am in the UK currently using UK settings throughout (so my dates are DD/MM/YY or DD/MM/YYYY). I don't want to use the reg edit as the fix as i will be giving the macro to others (continental Europe).
Also i found http://www.mrexcel.com/forum/<wbr>showthread.php?t=411801 so currently I'm using Chips' script un-adapted to pull in the lines one by ione until i understand it better[though I will tailor it later after i fix this] - the relevant parts [i think] are:
Dim InputLine As String ' The entire line of text read from the input file
Dim Arr As Variant ' Used with Split to break InputLine into an array, delimited by SplitChart
....
....
Line Input #FNum, InputLine
....
....
Arr = Split(expression:=InputLine, delimiter:=SplitChar, limit:=-1, compare:=vbTextCompare)
For Colndx = LBound(Arr) To UBound(Arr)
....
and it continues on
All my resulting issues are shown in this extract:
<table style="width: 604pt; border-collapse: collapse;" x:str="" border="0" cellpadding="0" cellspacing="0" width="805"><colgroup><col style="width: 97pt;" width="129"><col style="width: 30pt;" width="40"><col style="width: 71pt;" width="95"><col style="width: 72pt;" width="96"><col style="width: 77pt;" width="102"><col style="width: 84pt;" width="112"><col style="width: 62pt;" width="83"><col style="width: 63pt;" width="84"><col style="width: 48pt;" width="64"></colgroup><tbody><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 97pt; height: 12.75pt;" width="129" height="17">Installation</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 30pt;" width="40">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 71pt;" x:str="Install. Item " width="95">Install. Item </td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 72pt;" width="96">Inst.Type</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 77pt;" width="102">Inst. Date</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 84pt;" width="112">Ref #</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 62pt;" width="83">StartDt</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 63pt;" width="84">EndDt</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 48pt;" width="64">Cmp</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">R</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">AAAA</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HAA121</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39820" align="right">07/01/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">80</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">BBBB</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HDE999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">29-05-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">N1</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">CCCC</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HAA050</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">21-07-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">Q1</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">DDDD</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HKC002</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">27-02-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">171</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">R1D</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">EEEE</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HDE007</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39971" align="right">07/06/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">R1E</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">FFFF</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HMP004</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">20-08-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">130</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">804</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">GGGG</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ZAA999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">26-02-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">910441/002</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39815" align="right">02/01/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">31-01-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">4LCN</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HHHH</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HKC002</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">25-03-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">704</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">IIII</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="9999999999" align="right">9999999999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">19-01-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">740359/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39814" align="right">01/01/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">31-12-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">140</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">1048</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">JJJJ</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ATERM</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">25-05-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">140</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">5719</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">KKKK</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ZAA999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">27-04-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">920020/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39457" align="right">10/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">30-09-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">5773</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">LLLL</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ZAA999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl25">27-04-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">920020/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39457" align="right">10/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">30-09-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">7720</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">MMMM</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ZAA999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">27-04-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">920020/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39457" align="right">10/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">30-09-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">10095</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">NNNN</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HGE007</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">14-05-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">180</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">155749</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">OOOO</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HCA017</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">25-03-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">C00609/002</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">26-03-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">25-03-2012</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">4834873</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">PPPP</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HDE004</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39814" align="right">01/01/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">612718/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39448" align="right">01/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39448" align="right">01/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">120</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="8532200800276" align="right" height="17">8.5322E+12</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">QQQQ</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HDB064</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="40149" align="right">02/12/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr></tbody></table>
1) The Dates in "Inst. Date", "StartDt", "EndDt" do not always convert to actual dates. Though if I enter into (simply with F2) any of these cells and then leave it then excel will actually apply the correct formatting with no instruction from me whatsoever.
2) The data in the Installation column (not always numbers) sometimes doesn't treat the value as text no matter how much space I give it. (as in the last row above).
3) Lower importance - some of the entries have spaces at the front or end of the piece of data - i would like to remove them all (preferably as the data comes in but could be run on each sheet after all the imports I guess [then I'll have to learn about counting worksheets or some such too! ) - I'm sure I canfind something to help on this if no-one has "pet script" they like.
Many thanks for any assistance anyone can offer!
(and thanks for any previous help you may have inadvertently given me!! )
[I usually manage to get through by reading others' posts and/or breaking things into smaller chunks however this time i am stuck]....
I'm pulling in about 110k lines (will get bigger in time) from a ".txt" file and wanting the dates to all come in correctly....
(I also found and read http://www.mrexcel.com/forum/showthread.php?t=307804 - but can't figure out what I should steal from there if anything - i read the MSKB but that surely won't work for me as I'll be distributing the macro to others once written).
I am in the UK currently using UK settings throughout (so my dates are DD/MM/YY or DD/MM/YYYY). I don't want to use the reg edit as the fix as i will be giving the macro to others (continental Europe).
Also i found http://www.mrexcel.com/forum/<wbr>showthread.php?t=411801 so currently I'm using Chips' script un-adapted to pull in the lines one by ione until i understand it better[though I will tailor it later after i fix this] - the relevant parts [i think] are:
Dim InputLine As String ' The entire line of text read from the input file
Dim Arr As Variant ' Used with Split to break InputLine into an array, delimited by SplitChart
....
....
Line Input #FNum, InputLine
....
....
Arr = Split(expression:=InputLine, delimiter:=SplitChar, limit:=-1, compare:=vbTextCompare)
For Colndx = LBound(Arr) To UBound(Arr)
....
and it continues on
All my resulting issues are shown in this extract:
<table style="width: 604pt; border-collapse: collapse;" x:str="" border="0" cellpadding="0" cellspacing="0" width="805"><colgroup><col style="width: 97pt;" width="129"><col style="width: 30pt;" width="40"><col style="width: 71pt;" width="95"><col style="width: 72pt;" width="96"><col style="width: 77pt;" width="102"><col style="width: 84pt;" width="112"><col style="width: 62pt;" width="83"><col style="width: 63pt;" width="84"><col style="width: 48pt;" width="64"></colgroup><tbody><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 97pt; height: 12.75pt;" width="129" height="17">Installation</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 30pt;" width="40">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 71pt;" x:str="Install. Item " width="95">Install. Item </td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 72pt;" width="96">Inst.Type</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 77pt;" width="102">Inst. Date</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 84pt;" width="112">Ref #</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 62pt;" width="83">StartDt</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 63pt;" width="84">EndDt</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent; width: 48pt;" width="64">Cmp</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">R</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">AAAA</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HAA121</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39820" align="right">07/01/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">80</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">BBBB</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HDE999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">29-05-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">N1</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">CCCC</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HAA050</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">21-07-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">Q1</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">DDDD</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HKC002</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">27-02-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">171</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">R1D</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">EEEE</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HDE007</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39971" align="right">07/06/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">R1E</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">FFFF</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HMP004</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">20-08-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">130</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">804</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">GGGG</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ZAA999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">26-02-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">910441/002</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39815" align="right">02/01/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">31-01-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" height="17">4LCN</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HHHH</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HKC002</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">25-03-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">704</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">IIII</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="9999999999" align="right">9999999999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">19-01-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">740359/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39814" align="right">01/01/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">31-12-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">140</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">1048</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">JJJJ</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ATERM</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">25-05-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">140</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">5719</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">KKKK</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ZAA999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">27-04-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">920020/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39457" align="right">10/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">30-09-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">5773</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">LLLL</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ZAA999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl25">27-04-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">920020/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39457" align="right">10/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">30-09-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">7720</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">MMMM</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">ZAA999</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">27-04-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">920020/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39457" align="right">10/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">30-09-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">10095</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">NNNN</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HGE007</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">14-05-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">180</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">155749</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">OOOO</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HCA017</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">25-03-2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">C00609/002</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">26-03-2010</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">25-03-2012</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">150</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="" align="right" height="17">4834873</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">PPPP</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HDE004</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39814" align="right">01/01/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">612718/001</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39448" align="right">01/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="39448" align="right">01/01/2008</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">120</td></tr><tr style="height: 12.75pt;" height="17"><td style="border: medium none rgb(236, 233, 216); background-color: transparent; height: 12.75pt;" x:num="8532200800276" align="right" height="17">8.5322E+12</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">QQQQ</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;">HDB064</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" class="xl24" x:num="40149" align="right">02/12/2009</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:str=" ">
</td><td style="border: medium none rgb(236, 233, 216); background-color: transparent;" x:num="" align="right">160</td></tr></tbody></table>
1) The Dates in "Inst. Date", "StartDt", "EndDt" do not always convert to actual dates. Though if I enter into (simply with F2) any of these cells and then leave it then excel will actually apply the correct formatting with no instruction from me whatsoever.
2) The data in the Installation column (not always numbers) sometimes doesn't treat the value as text no matter how much space I give it. (as in the last row above).
3) Lower importance - some of the entries have spaces at the front or end of the piece of data - i would like to remove them all (preferably as the data comes in but could be run on each sheet after all the imports I guess [then I'll have to learn about counting worksheets or some such too! ) - I'm sure I canfind something to help on this if no-one has "pet script" they like.
Many thanks for any assistance anyone can offer!