I'm familiar with Excel vba, but I'm pretty new to using vba in Access. I have a macro set up to loop over all tables:
I'd like to modify it so that the **stuff** only gets applied to tables that are actually highlighted before the macro is run. Is there an easy way to do this?
Code:
For Each tbl In CurrentDb.TableDefs
**stuff**
Next