Hi all,
I'm working on a database that exports data from a table in Access to an Excell spreadsheet in columns.
Everything is going smoothly, but now I have an issue with saving the excell templates as an XLS file and in the location that I want to.
here is the line that I'm trying to use to save the document:
It basically should save the file as "monthRoster2008.xls" and I want to save it in the save location as the front end database.
ANy help would be appreciated
Cheers
Dean
-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
I'm working on a database that exports data from a table in Access to an Excell spreadsheet in columns.
Everything is going smoothly, but now I have an issue with saving the excell templates as an XLS file and in the location that I want to.
here is the line that I'm trying to use to save the document:
Code:
ActiveWorkbook.SaveAs FileName:=Me.cboMonth & "Roster" & Format(Date, "yyyy")
It basically should save the file as "monthRoster2008.xls" and I want to save it in the save location as the front end database.
ANy help would be appreciated
Cheers
Dean
-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."