Here is my code currently:
Code:
Set excelexport = CreateObject("Excel.Application")
SetAttr "C:\Users\Me\Desktop\My Documents\Macros\JobClassSaleID.xlsm", vbNormal
excelexport.workbooks.Open ("C:\Users\Me\Desktop\My Documents\Macros\JobClassSaleID.xlsm")
excelexport.Visible = True
I feel like I've tried everything. SetAttr doesn't seem to change anything with or without it. It always opens as read only even if I set:
Code:
excelexport.workbooks.Open ("C:\Users\Me\Desktop\My Documents\Macros\JobClassSaleID.xlsm"), ReadOnly:=False
I've also tried completely disabling Protected View.