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
OWA 2007 Password Changes
Microsoft® Hyper-V" Server 2008 R2 is out, and now ?
OpenCurrentDatabase with password
Virtualizing Backup Exec 12.5 on Hyper-V
"Not enough storage is available to complete this operation" When Inserting Into SQL BLOB
Save an Access Report as a PDF
Exporting with TransferText and schema.ini
How to open multiple pdf files in datasheet view
Does SQL have a describe command that gives outputs the table structure?
Not getting print notification pop up in windows xp