Just in case anyone is interested, here is the solution I found for saving an .ods spreadsheet in 3 different locations:
sub Save3Places
rem ----------------------------------------------------------------------
rem define variables
dim document as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(“com.sun.star.frame.DispatchHelper”)
rem ----------------------------------------------------------------------
dim args1(1) as new com.sun.star.beans.PropertyValue
args1(0).Name = “URL”
args1(0).Value = “file:///home/Desktop/Important/spreadsheet.ods”
args1(1).Name = “FilterName”
args1(1).Value = “calc8”
dispatcher.executeDispatch(document, “.uno:SaveAs”, “”, 0, args1())
rem ----------------------------------------------------------------------
dim args2(1) as new com.sun.star.beans.PropertyValue
args2(0).Name = “URL”
args2(0).Value = “file:///home/Desktop/Documents/spreadsheet.ods”
args2(1).Name = “FilterName”
args2(1).Value = “calc8”
dispatcher.executeDispatch(document, “.uno:SaveAs”, “”, 0, args2())
rem ----------------------------------------------------------------------
dim args3(1) as new com.sun.star.beans.PropertyValue
args3(0).Name = “URL”
args3(0).Value = “file:///home/Desktop/Warpinator/spreadsheet.ods”
args3(1).Name = “FilterName”
args3(1).Value = “calc8”
dispatcher.executeDispatch(document, “.uno:SaveAs”, “”, 0, args3())
end sub