What I want to do is conceptually simple. I have a collection of Calc spreadsheets that each contain the number of a particular row in a database (containing client name, contact info, etc.). The spreadsheet has a combo box containing several Writer templates that all have mail merge fields connected to the same database. I’m trying to make a macro that launches the selected template and automatically navigates to the correct mail merge entry.
It seems like the dispatch command “uno:MailMergeCurrentEntry” almost does what I want, but I can’t figure out how to manipulate what number the current entry is. I guess I could execute MailMergeNextEntry dozens of times in a row, but that hardly seems like the right answer.