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
Trouble with a Winforms .NET Framework 2.0 list box
Excel and UTF8
sql updating a table
FileSystemWatcher VB.Net How to check if File is opened by application
Excel 207 question - formula
How to import Excel worksheet to DataGridView keeping cell colors
using a where clause in a vertical lookup excel
Do...Loop alternative
Remove toolkit infection where browser is hijcked to r9237242.cn
Global import into SQL Server 2000 related question