NetOfficeFw / NetOffice

🌌 Create add-ins and automation code for Microsoft Office applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workbook class missing AutoSaveOn property

IainDM opened this issue · comments

Hi @IainDM, thanks for noticing this. I will look at it.

It looked like a change to _Workbook.cs would do the trick. Something like the code below. but I am new to NetOffice so I'm unsure!

public bool AutoSaveOn
	{
		get
		{
			return Factory.ExecuteBoolPropertyGet(this, "AutoSaveOn");
		}
		set
		{
			Factory.ExecuteValuePropertySet(this, "AutoSaveOn", value);
		}
	}

This property is available in Microsoft Office 2016, version 2004 (build 12730.20352)

I did not update NetOffice with API from this build yet.

Released in v1.9.0