David Evans Active Member Apr 9, 2015 #1 Anyone know how to set the file attributes to Read Only when you use the above command? or any other workarounds for it? Thanks
Anyone know how to set the file attributes to Read Only when you use the above command? or any other workarounds for it? Thanks
Luke M Excel Ninja Staff member Apr 9, 2015 #2 Do the normal SaveCopy to create the file, and then go back and change it's settings is what I would suggest. http://www.mrexcel.com/forum/excel-...-write-attribs-visual-basic-applications.html
Do the normal SaveCopy to create the file, and then go back and change it's settings is what I would suggest. http://www.mrexcel.com/forum/excel-...-write-attribs-visual-basic-applications.html
David Evans Active Member Apr 9, 2015 #3 SetAttr "Filename", vbReadOnly after the initial line to write the Filename does the trick ...