Hey,
I would like some code that changes the workbook to Attr - normal, then to save it. However I get an error message saying that the workbook cannot save as that name as it was opened as read only.
This is the code I have:
Any ideas?
Many Thanks,
LSM1604
I would like some code that changes the workbook to Attr - normal, then to save it. However I get an error message saying that the workbook cannot save as that name as it was opened as read only.
This is the code I have:
Code:
SetAttr ActiveWorkbook.Path & "\" & ActiveWorkbook.Name, vbNormal
Application.DisplayAlerts = False
ActiveWorkbook.Save
Application.DisplayAlerts = True
Any ideas?
Many Thanks,
LSM1604