A
Alex
I'm using the following to transfer data from MS Access to
Excel:
DoCmd.OutputTo acOutputQuery, _
"Query1", acFormatXLS, _
"ExcelFile.xls"
The Query1 is taking some value the exchange rate for
calculations. Before, I was using a textbox on a form to
give the Query1 this value. When the form is being opened
the fnEchangeRate function is being run and the value is
being assigned to the textbox.
How could I give the value from the function to the Query1
not through the textbox but (if it's possible) through a
parameter before running this DoCmd.OutputTo ...
Thanks
Excel:
DoCmd.OutputTo acOutputQuery, _
"Query1", acFormatXLS, _
"ExcelFile.xls"
The Query1 is taking some value the exchange rate for
calculations. Before, I was using a textbox on a form to
give the Query1 this value. When the form is being opened
the fnEchangeRate function is being run and the value is
being assigned to the textbox.
How could I give the value from the function to the Query1
not through the textbox but (if it's possible) through a
parameter before running this DoCmd.OutputTo ...
Thanks