See these articles for examples of doing what you seek.
Write Data From a Recordset into an EXCEL Worksheet using Automation (VBA)
http://www.accessmvp.com/KDSnell/EXC...m#WriteRstFile
Write Data From a Recordset into an EXCEL Worksheet using EXCEL's
CopyFromRecordset (VBA)
http://www.accessmvp.com/KDSnell/EXC...ExpCopyFromRst
Using the Range Argument of TransferSpreadsheet when Exporting Data to an
EXCEL File (VBA)
http://www.accessmvp.com/KDSnell/EXC...t.htm#ExpRange
--
Ken Snell
<MS ACCESS MVP>
http://www.accessmvp.com/KDSnell/
"Adam" <(E-Mail Removed)> wrote in message
news:13D6A4F0-C6B0-40B4-BE17-(E-Mail Removed)...
> Hi,
>
> Trying to create a macro which is triggered after the user presses an
> "update" button. The macro is to copy the data from a query
> (qryPlanesDisplay) and paste the data onto fixed point on a datasheet
> template (i.e. paste on A6). Data paste should be data only. Datasheet
> will
> be stored for example in "My Documents" folder on desktop.
>
> When another user does the same function after "updating" some
> information,
> the macro should perform the same function and overwrite the existing
> spreadsheet without being asked to overwrite.
>
> Can this be done? Please help. Thanks in advance.