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
Access Query Sequential Counter
SSRS percentage equation
Setting Up SMTP Mail Service on Windows XP
Access Import of Excel Customized Date Formats into Text Field
MS Office on Mac OS 10.5.7 - do you want the application microsoft word to accept incoming network connections
Print two copies to different printers in Access 2003?
Having trouble getting Dynamics AX4 to connect to AOS server from a DMZ
Major problem with AJAX and server.transfer to AJAX page
VBA Code to Save an Excel File as a Tab Delimited Text File
VBA to retrieve same defects retrieved by a Quality Center Favorite