S
Steve Goodrich
I have a query that I transfer to a text file using the 'Transfer text'
option in a macro. I have this macro assigned to the close event on my form
so when the database is closed the text file is updated and I don't get any
prompts saying that the file already exists - do you want to overwrite.,
works great,
I would like to do transfer the query into an Excel spreadsheet instead of a
text file. I am using the 'Output to' option when creating the macro -
output format Excel, and that also works great with one exception. I am
prompted to overwrite the existing file each time the macro runs, I.e. every
time I close the database.
My question:
Can I make it so the Excel file is updated automatically without me being
prompted, the same way the Transfer Text macro works when creating a text
file.
Many thanks
Steve
option in a macro. I have this macro assigned to the close event on my form
so when the database is closed the text file is updated and I don't get any
prompts saying that the file already exists - do you want to overwrite.,
works great,
I would like to do transfer the query into an Excel spreadsheet instead of a
text file. I am using the 'Output to' option when creating the macro -
output format Excel, and that also works great with one exception. I am
prompted to overwrite the existing file each time the macro runs, I.e. every
time I close the database.
My question:
Can I make it so the Excel file is updated automatically without me being
prompted, the same way the Transfer Text macro works when creating a text
file.
Many thanks
Steve