MCTampa
Board Regular
- Joined
- Apr 14, 2016
- Messages
- 97
I am trying to use the DoCmd.OutputTo function to output to a file based on the values in a text box.
Here is what I'm using:
The path to the file is in text box 1216 and it reads: G:\IRM\001 Javier Diaz
However I'm getting the error "Type Mismatch" and I cannot understand why.
Any help would be appreciated.
Mike
Here is what I'm using:
Code:
Do.Cmd.OutputTo acOutputQuery, "Monthly Detailed Report", Excel97-Excel2003Workbook(*.xls)", "Screen.ActiveForm!Text1216 & " \ "& Monthly Detailed Report......
The path to the file is in text box 1216 and it reads: G:\IRM\001 Javier Diaz
However I'm getting the error "Type Mismatch" and I cannot understand why.
Any help would be appreciated.
Mike
Last edited: