G
Guest
Hi Group,
I have gone through a worksheet that had ID numbers in it and put those IDs
in a variable ID1, ID2, ID3...ID10. I am then going over to another worksheet
and doing a Find with in a For...Next construct
For Q = 1 To 10
Selection.Find(What:=("ID"& Q), After:.........
Next
Above does not work, although a hard code instead of =("ID"& Q), does work.
I have tried varous variations and concantinations to bring in the varible,
but have not been able to. ID1, the varaible, contains the number 4, but I
can not get that into the search.
Thanks,
I have gone through a worksheet that had ID numbers in it and put those IDs
in a variable ID1, ID2, ID3...ID10. I am then going over to another worksheet
and doing a Find with in a For...Next construct
For Q = 1 To 10
Selection.Find(What:=("ID"& Q), After:.........
Next
Above does not work, although a hard code instead of =("ID"& Q), does work.
I have tried varous variations and concantinations to bring in the varible,
but have not been able to. ID1, the varaible, contains the number 4, but I
can not get that into the search.
Thanks,