> ok , I am looking through the coding for the FINDNEXT. it states dim
> varbookmark as variant. Does this mean the end of the row of data for a
[quoted text clipped - 14 lines]
> > > worksheet. Is this possible if so how. I am not familar with VB scripts or
> > > macros. Any sites or tutorials will be helpful.
Hi
If you have something common in your data, eg, office name, office no,
district, etc.
A macro will work OK, but its a bit hard to do without more information.
Another option, if you're not handy with VBA, is to do a sort of the data,
by say, one of the above criteria and then simply copy and paste to a new
sheet.
You can record a sort macro, which would speed things up a little.
HTH
Michael M
> > ok , I am looking through the coding for the FINDNEXT. it states dim
> > varbookmark as variant. Does this mean the end of the row of data for a
[quoted text clipped - 14 lines]
> > > > worksheet. Is this possible if so how. I am not familar with VB scripts or
> > > > macros. Any sites or tutorials will be helpful.
gwtechie72 - 12 Nov 2007 12:30 GMT
In regards to your response sorting out takes way to much time. I am not
familar with the use of macros. I beleive I got the VB macro set, but I am
having problems due to security. How can I disable the security to run it, or
allow it to run without the security. I know it mentioned something about
digital signature.
> Hi
> If you have something common in your data, eg, office name, office no,
[quoted text clipped - 26 lines]
> > > > > worksheet. Is this possible if so how. I am not familar with VB scripts or
> > > > > macros. Any sites or tutorials will be helpful.
Max - 12 Nov 2007 13:34 GMT
Perhaps a simple INDEX/MATCH would serve your intents just as well?
Assuming source data is in a sheet: x, in cols A to C, data from row2 down
where col A = staff ids, cols B to C contain other data
In another sheet,
You have your staff ids list in A2 down
Place in B2:
=IF(ISNA(MATCH($A2,x!$A:$A,0)),"",INDEX(x!B:B,MATCH($A2,x!$A:$A,0)))
Copy B2 to C2, fill down as far as required. Cols B to C will return the
data corresponding to your staff ids from the source sheet x's cols B and C.
Adapt / extend to suit.

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---