stop prompts like "the document has been modified do you want to save your changes

OS is Raspian Linux (Wheezy). Computer is a Raspberry Pi 2. This is a LibreOffice calc question. Libre Office is version 3.6.

The spreadsheet loads cell values in from another spreadsheet and I have a LibreOffice calc basic macro that attempt to export the spreadsheet as a pdf file. I want this to run as automatically as possible. I managed to get rid of the “do you wish to update your document from external links” prompt but I still have:
“the document has been modified do you want to save your changes?”
The PDF options form asking me to export or cancel
The form which prompts me to save or cancel
"a file named abcxyz.pdf already exists, do you wish to replace it
Is there a way I can set things up so as not to be prompted?

Basically I want to answer in the affirmative to all of the prompts/forms without getting prompted.