argsName = "G:\OrderForms\" & argsName
xlsheet.Parent.SaveAs FileName:=argsName, Password:="cheese"
Currently using Access2000 to migrate data from access to excel using automation. The above code saves the excel workbook, but does not attach a password to it-despite the fact access runs through the code without error!
xlsheet.Parent.SaveAs FileName:=argsName, Password:="cheese"
Currently using Access2000 to migrate data from access to excel using automation. The above code saves the excel workbook, but does not attach a password to it-despite the fact access runs through the code without error!