Building a dynamic file name using OutputTo

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to automatically change the spreadsheet name each time i
export data from an Access query using the OutputTo action? The output file
name needs to consist of (1) some literal values, (2) a variable entered into
the form the user uses to start the process, and (3) a value from a second
query based on a value also entered into the form
 
Bill,

Yes, in the Output File argument of the macro, use an expression to
concatenate the pieces of the required path/file name together.
 

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

Similar Threads

OutputTo 1
OutputTo Then SendObject 3
Output File Naming 8
OutputTo: Path Name Using [Forms]! 3
Naming files automatically 1
OutputTo Action 1
OutputTo Excel (A3K) 1
OutputTo macro with MsgBox - Help! 1

Back
Top