How to remove read-only
flag when file gets saved?
Because the file I work in to run this code is read-only
it seems to save the document as read-only
, but how to save the file so other people can still edit it?
comp = Environ("username")
fname = "C:Users" & comp & "Testing" & Format(Now(), "yyyymmdd-hh.mm") & "
Testing " & ".xlsx"
MsgBox "Correct saved" & vbNewLine & "Yes"
ActiveWorkbook.SaveAs Filename:=fname, FileFormat:=xlOpenXMLWorkbook
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…