word-2016

MacOS Automator + Applescript solution for exporting docx to pdf

我与影子孤独终老i 提交于 2020-12-29 18:22:03
问题 Scratching my head after reading lots of different threads on this and tried a bunch of scripts but none seem to work. I'd like to use Automator to automate Word 2016 conversion of a selection of docx files to pdf. Used the following Automator Service: Used the following script: on run {input, parameters} tell application id "com.microsoft.Word" activate open input set doc to name of active window set theOutputPath to (input & ".pdf") save as active document file name theOutputPath file

MacOS Automator + Applescript solution for exporting docx to pdf

爱⌒轻易说出口 提交于 2020-12-29 18:21:36
问题 Scratching my head after reading lots of different threads on this and tried a bunch of scripts but none seem to work. I'd like to use Automator to automate Word 2016 conversion of a selection of docx files to pdf. Used the following Automator Service: Used the following script: on run {input, parameters} tell application id "com.microsoft.Word" activate open input set doc to name of active window set theOutputPath to (input & ".pdf") save as active document file name theOutputPath file

MacOS Automator + Applescript solution for exporting docx to pdf

你说的曾经没有我的故事 提交于 2020-12-29 18:18:21
问题 Scratching my head after reading lots of different threads on this and tried a bunch of scripts but none seem to work. I'd like to use Automator to automate Word 2016 conversion of a selection of docx files to pdf. Used the following Automator Service: Used the following script: on run {input, parameters} tell application id "com.microsoft.Word" activate open input set doc to name of active window set theOutputPath to (input & ".pdf") save as active document file name theOutputPath file

Microsoft Office Word 2016 mail merge custom invalid recipement for greeting line

一曲冷凌霜 提交于 2019-12-12 04:24:53
问题 I have a list of emails and some are for company names and others have first name last name. If I include the greetings line for "hello first_name last_name" it works but I want it to say "hello company_name" if there is no first name. Is there a way to do this? 回答1: To place this logic into your mail merge I suggest forgoing the Greeting Line and instead nesting Merge Field Codes inside a Word If, Then, Else statement. Field Codes are invisible markers and logic that Word replaces with text

Word 2016 VBA loop until end of document

梦想与她 提交于 2019-12-11 06:55:32
问题 I've looked at many different answers online but have not been able to find a solution that fits my code. This is my first time writing VBA in Word (have some moderate experience in Excel). I thought this post might be what I need but it doesn't stop the loop at the end of the document for me. I'm trying to insert a continuous section break before the start of a new section, which I designate as text that is formatted with style Heading 1. I'm totally open to doing this another way and would