Microsoft
Software
Hardware
Network
Question : How to create a file that has "\" or "&" in the file name?
I have a file name: "Black & White \ Red "
So got error in below statement:
DoCmd.OutputTo acReport, "rptTemplate, ..., "Black & White \ Red " & ".xls", False
It's because of "\" in the file name, how to create the file anyway? Also, how to remove the white space from the end in a string like get "Red" instead of "Red "? Thanks
Answer : How to create a file that has "\" or "&" in the file name?
Maybe:
DoCmd.OutputTo acReport, "rptTemplate, ..., Replace("Black & White \ Red " & ".xls", "\",""), False
mx
Random Solutions
How can I send an email in MS Access 2007 with a report as a .pdf attachment?
How to disable nested triggers in a SQL statement
Exchange Stops inexpectedly
Upgrading Server 2008 Evaluation Version to Fully Licensed
VB.net opening text file into DataGridView
OCS - Exchange install order?
SBS 2008 Console feature is not setup correctly - Unable to create users -
transfer Access 2003 using VBA to Access 2007 on another computer
SQL Query to find number of customers with X bookings
Frontpage 2003 Browse button