G
Geoff Murley
I have an Access table containing the following fields:
Username, StartTime, EndTime. At the end of every working
Day I want to export this data to an existing Excel
Workbook. The Workbook has named sheets corresponding to
each Username. (Database called Times.mdb, Spreadsheet
called UserTimes.xls)
Everytime I perform an export I want to create a new row
on the matching sheet for each User as follows:
Column A: CurrentDate
Column B: StartTime
Column C: EndTime, obviously matching the Username in the
Table to the Name on the Sheet tab.
So as the days go on I am building up rows of start and
end times for each User. After the export, if it is
successful, the Database Table is cleared ready for the
following day's Data Entry to the Database via a Web Front
End.
Could anyone help me with the VBA Code to perform this
export?
Thanks
Username, StartTime, EndTime. At the end of every working
Day I want to export this data to an existing Excel
Workbook. The Workbook has named sheets corresponding to
each Username. (Database called Times.mdb, Spreadsheet
called UserTimes.xls)
Everytime I perform an export I want to create a new row
on the matching sheet for each User as follows:
Column A: CurrentDate
Column B: StartTime
Column C: EndTime, obviously matching the Username in the
Table to the Name on the Sheet tab.
So as the days go on I am building up rows of start and
end times for each User. After the export, if it is
successful, the Database Table is cleared ready for the
following day's Data Entry to the Database via a Web Front
End.
Could anyone help me with the VBA Code to perform this
export?
Thanks