P
Paul
Please review the response below which I had recieved from
the MS Project support newsgroup.
Is it possible to program VB to loop through and
incrementally look at each row in a field and compare it
to the previous? I have tried unsuccessfully and is most
likely related to syntax issues. It would increment the
rows randomly, sometimes 5 at a time. If I can compare
the fields for two successive entries, I can then write to
and autofilter a flag to look at duplicates.
Thank you
---------------------------------------------------
Hi Paul,
It does work the way you describe.
But if you want an alternative way, Sort the list for the
field you want to
examine, and compare two successive entries; if equal set
a flag field to
true for both, which then allows you to filter, even after
re-sorting in the
original order.
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
Project Management Consultancy
Prom+ade BVBA
32-495-300 620
..
the MS Project support newsgroup.
Is it possible to program VB to loop through and
incrementally look at each row in a field and compare it
to the previous? I have tried unsuccessfully and is most
likely related to syntax issues. It would increment the
rows randomly, sometimes 5 at a time. If I can compare
the fields for two successive entries, I can then write to
and autofilter a flag to look at duplicates.
Thank you
---------------------------------------------------
Hi Paul,
It does work the way you describe.
But if you want an alternative way, Sort the list for the
field you want to
examine, and compare two successive entries; if equal set
a flag field to
true for both, which then allows you to filter, even after
re-sorting in the
original order.
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
Project Management Consultancy
Prom+ade BVBA
32-495-300 620
Paul said:Is it possible to autofilter or filter in order to display
only duplicate items under a field? I would like to be
able to find any possible duplicate entries in the system
at the click of a button.
If not, is it possible to do so within VB? I have
previously tried unsuccessfully to have the program look
at the top cell in a field/column, and then repeatedly
move down to look at the next cell in that column.
Thank you
..