What is the VB code for retrieving and looping records from an existing table. I have a table with 25 records and I have some VB code already set up to export my data to excel by a string (I have dim'd) I manually enter into my module. I would like the string to retrieve each record in an existing table and loop this procedure so I would have 25 excel files for each string/record that is in my table.
Like I said, right now, this is a manual process where I key the data of each field into my module for my string and run the procedure, but I have to do this 25 seperate times.
Like I said, right now, this is a manual process where I key the data of each field into my module for my string and run the procedure, but I have to do this 25 seperate times.