data selecting

C

climate

Hi
Please suppose that, the following is a matrix at my first file and on sheet1.
Column H is numbered irregularly and has duplicate numbers and columns I to
BP is labled(age,gen,....).

H I J K L ........... BP
age gen weight job tall
245 28 F 42 stud 143
789 14 M 33 stud 111
7700 56 F 63 artist 164
1289 31 F 61 dentist 165
..... ... . .. ........ ...
..... ... . .. ........ ...
I need to a macro, when i input numbers at column H [245,789,7700,...] and
input optional lables [age, job,tall,....] then related data cell
(28,stud,143,.....) copy to separate file(test.xls)and set on to sheet1 and
set extracted data to second row and column I.

Thank's for any help.

best regards
 
S

Sandy Mann

Re-reading your post:
I need to a macro, when i input numbers at column H [245,789,7700,...] and
input optional lables [age, job,tall,....] then related data cell
(28,stud,143,.....)

If you want to only select some of the labels then you could have up to 60
inputs. What it the maximum number of labels that you would want to input?

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk


climate said:
Hi
Please suppose that, the following is a matrix at my first file and on
sheet1.
Column H is numbered irregularly and has duplicate numbers and columns I
to
BP is labled(age,gen,....).

H I J K L ........... BP
age gen weight job tall
245 28 F 42 stud 143
789 14 M 33 stud 111
7700 56 F 63 artist 164
1289 31 F 61 dentist 165
..... ... . .. ........
...
..... ... . .. ........
...
I need to a macro, when i input numbers at column H [245,789,7700,...] and
input optional lables [age, job,tall,....] then related data cell
(28,stud,143,.....) copy to separate file(test.xls)and set on to sheet1
and
set extracted data to second row and column I.

Thank's for any help.

best regards
 
C

climate

Hi Sandy
Maximum number of lables is 10 .
Regards

Sandy Mann said:
Re-reading your post:
I need to a macro, when i input numbers at column H [245,789,7700,...] and
input optional lables [age, job,tall,....] then related data cell
(28,stud,143,.....)

If you want to only select some of the labels then you could have up to 60
inputs. What it the maximum number of labels that you would want to input?

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk


climate said:
Hi
Please suppose that, the following is a matrix at my first file and on
sheet1.
Column H is numbered irregularly and has duplicate numbers and columns I
to
BP is labled(age,gen,....).

H I J K L ........... BP
age gen weight job tall
245 28 F 42 stud 143
789 14 M 33 stud 111
7700 56 F 63 artist 164
1289 31 F 61 dentist 165
..... ... . .. ........
...
..... ... . .. ........
...
I need to a macro, when i input numbers at column H [245,789,7700,...] and
input optional lables [age, job,tall,....] then related data cell
(28,stud,143,.....) copy to separate file(test.xls)and set on to sheet1
and
set extracted data to second row and column I.

Thank's for any help.

best regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top