Microsoft 365 and Office | Excel | For business | Windows
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I get permission denied, due to last line below. Why?
txtfl10 = file_type & Right("0" & Month(Date), 2) & Right("0" _ & Day(Date), 2) & Right("0" & Hour(Time()), 2) & Right("0" & Minute(Time()), 2) & _ Right("0" & Second(Time()), 2) & "I.txt" Set wrtfl10 = flsys.createtextfile(txtfl10)
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
An implementation of Visual Basic that is built into Microsoft products.
Answer accepted by question author
Maybe the disk or folder is restricted, or the file already exists and is read-only or is already in use or restricted.