Hi,
I have had a good look around but can't seem to find a way to programmatically update a table of contents. The only information I came across is to set a flag which forces an update on open, which does the job but due to the warning message it isn't as clean as I'd like. The documents I'm generating will be sent around to many people and I don't want to cause confusion with ...