Question : VBA acOutputQuery and acFormatXLS.  What does this mean?

I'm just taking over for another person at work and trying to debug one of our small programs.  Can anyone tell me what acOutputQuery and acFormatXLS is.  From what I can gather, I believe they're standard functions in one of the libraries.  What they exactly do escapes me though.

DoCmd.OutputTo acOutputQuery, "EIASTORAGEDATA", acFormatXLS, "I:/EIA Storage/EIA Storage.xls"

Answer : VBA acOutputQuery and acFormatXLS.  What does this mean?

acOutputQuery simply means export a query.  "EIASTORAGEDATA" is likely the query which is being exported and acFormatXLS means export to *.xls format (Microsoft Excel formatting).  The last parameter is the output path of course.


-Paul.
Random Solutions  
 
programming4us programming4us