Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workbook class missing AutoSaveOn property #349

Closed
IainDM opened this issue Jun 15, 2022 · 4 comments
Closed

Workbook class missing AutoSaveOn property #349

IainDM opened this issue Jun 15, 2022 · 4 comments
Assignees
Labels
Milestone

Comments

@IainDM
Copy link

IainDM commented Jun 15, 2022

https://docs.microsoft.com/en-us/office/vba/api/excel.workbook.autosaveon

@jozefizso jozefizso self-assigned this Jun 15, 2022
@jozefizso jozefizso added this to the 1.8.2 milestone Jun 15, 2022
@jozefizso
Copy link
Member

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

@IainDM
Copy link
Author

IainDM commented Jun 15, 2022

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);
		}
	}

@jozefizso
Copy link
Member

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

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

@jozefizso
Copy link
Member

Released in v1.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants