Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

confine macro to found set

Status
Not open for further replies.

doglover1956

Technical User
Jan 14, 2006
2
US
I want to confine a macro to loop through a found set, in this case the current day. I have a worksheet, and a find macro runs upon entry to the sheet, so that the worksheet shows the records from the current day. I then run a looping macro. But instead of working on the found set, it starts looping through the entire data set. What's up?

If I do it manually, going one at a time, it works. I try going to the first record, the current record, using the enter function, nothing seems to work.

Thanks.
 
Not possible. If you have a found set and loop using Records Next, it is not possible for the macro to get to any records outside of the set.

Sue Sloan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top