I've a textfile containing the the following data:
The content is varying but the section are always the same...
**********************************************************
(Measure data)
Name=Customer
LIMS nr=0.000000
Acc. Voltage (kV)=0.000000
Sample Current (uA)=0.000000
Crystal=PET
Element=Mo
Start (A)=1.000000
Stop (A)=0.000000
(settings)
mean over#=50
Sample Rate=100.000000
physical channels=Dev1/ai1
Input range=1.000000
Visible records=600
(Data)
0.00E+00 1.05E+00
5.00E-01 1.05E+00
1.00E+00 1.05E+00
1.50E+00 1.05E+00
2.00E+00 1.05E+00
2.50E+00 1.05E+00
...
...
[\color]
*********************************************************
After importing in excel I want to define (name) the range with datapoints printed below "(data)".
How do I define the datarange if the position of the label [data] varies for each textfile.
The algoritme will be something like
Find [data]
Find last datapoint-couple
define range ("(data)"+ 1 row) to (last datapoint) as "datapoints"
The content is varying but the section are always the same...
**********************************************************
(Measure data)
Name=Customer
LIMS nr=0.000000
Acc. Voltage (kV)=0.000000
Sample Current (uA)=0.000000
Crystal=PET
Element=Mo
Start (A)=1.000000
Stop (A)=0.000000
(settings)
mean over#=50
Sample Rate=100.000000
physical channels=Dev1/ai1
Input range=1.000000
Visible records=600
(Data)
0.00E+00 1.05E+00
5.00E-01 1.05E+00
1.00E+00 1.05E+00
1.50E+00 1.05E+00
2.00E+00 1.05E+00
2.50E+00 1.05E+00
...
...
[\color]
*********************************************************
After importing in excel I want to define (name) the range with datapoints printed below "(data)".
How do I define the datarange if the position of the label [data] varies for each textfile.
The algoritme will be something like
Find [data]
Find last datapoint-couple
define range ("(data)"+ 1 row) to (last datapoint) as "datapoints"