B
Baard Dahl
Hallo,
I have the following code
On Error Resume Next
Dim stDocName As String
stDocName = "Revenue"
DoCmd.OutputTo acReport, stDocName, acFormatXLS,
Headline
Where 'Headline' is a text box in a form. I want the
output file to be called 'Whatever is in the textbox.xls',
but I cant figure out how to get .xls attached to the
string from the textbox.
Help would be greatly appreaciated.
Baard
I have the following code
On Error Resume Next
Dim stDocName As String
stDocName = "Revenue"
DoCmd.OutputTo acReport, stDocName, acFormatXLS,
Headline
Where 'Headline' is a text box in a form. I want the
output file to be called 'Whatever is in the textbox.xls',
but I cant figure out how to get .xls attached to the
string from the textbox.
Help would be greatly appreaciated.
Baard