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
vmm32\bios.vxd
SQL 2008 Database
.CSV to Database with ODBC connection.
How to make Report Builder 2.0 install/launch via Clickonce in Report Manager SSRS 2008
Visual Studio 2008 C# call external program
Reference for Accessing Minitab Objects via VBA
Excel vba: post 30 based on prev EE post - Using VBA to place a Y axis title
Run Excell 2007 via C++
cursor position in textbox
Automation error in Vista CreateObject("InternetExpl<wbr />orer.appli<wbr />cation")