appt exporting filters

  • Thread starter Thread starter javier.gomez
  • Start date Start date
J

javier.gomez

Does anybody know how to export appt items from a specific start date?
 
Copy the appointments to a new folder then export from there.
 
I guess I wasn't specific. I wrote a VB program to export Outlook
AppointmentItems to an Access database, but I only want to export items
with a start date greater than #dtStart# and less than #dtEnd#. I
originally had the program iterate through all appointments and check
the date, and if the date fell within those dates export it. But when
users with years of appointments ran the program, it took far too long.
Any ideas?
 
FYI, I figured it out; I used the Restrict method as followed:

strDateRange = "[Start] >= '" & dtStart & "' and [Start] <= '" & dtEnd
& "'"
Set myAppts = myAppts.Restrict(strDateRange )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top