For Each

ler1992

New member
Local time
Today, 05:10
Joined
Oct 3, 2002
Messages
6
Can I use the For Each statement for each record in a table? If so, can you help me with the format of the statement?

For Each record In Table!tblVendorID
statements
Next

???
Strugling with VBA
Lisa
 
Hi Lisa

Difficult to say on the info you've given. Can you give more detail as to what you are trying to achieve?

Col
:cool:
 
For each record in a table I want to perform a series of statements, including sendobject via e-mail. Below is the help example. I know the group section of the statement is my recordset but I'm not sure what the element would be.

For Each element In group
[statements]
[Exit For]
[statements]

Next [element]
 

Users who are viewing this thread

Back
Top Bottom