Super Suarez
Registered User.
- Local time
- Today, 08:16
- Joined
- Jul 10, 2013
- Messages
- 36
Hi All,
I'm trying to write a VBA function to write a table to excel but with filters. I'm using the Docmd functionality but can't find where I filter. Here's what I have so far:-
Private Sub Command344_Click()
DoCmd.OutputTo acOutputTable, "Joblog", acFormatXLS, "C:\Temp\temp1.xls", True
End Sub
I really only want certain fields and eventually to filter on certain records. What is the syntax or am I in completely the wrong area?
Thanks in advance
I'm trying to write a VBA function to write a table to excel but with filters. I'm using the Docmd functionality but can't find where I filter. Here's what I have so far:-
Private Sub Command344_Click()
DoCmd.OutputTo acOutputTable, "Joblog", acFormatXLS, "C:\Temp\temp1.xls", True
End Sub
I really only want certain fields and eventually to filter on certain records. What is the syntax or am I in completely the wrong area?
Thanks in advance