When saving a file for the first time, you may have noticed Word suggesting a file name to you in the “Save As” dialog box. This file name is typically taken from the first paragraph in your document. Here's how to use them and the best ones to try. Includes disabling Siri, restricting inappropriate words in the Dictionary, preventing changes to the Dock How do you use your Mac’s parental controls? Is there another useful setting we didn’t cover in detail here? However, this is actually Word’s second choice for suggested file names. If you’ve, Word uses that as the suggested file name when you first save the document. For example, we set the “Title” property for this article to the title of the article. When we save the article the first time (press “Ctrl + S” and select a location or click “Browse” on the “Save As” screen), that “Title” property is entered in as the file name in the “File name” edit box on the “Save As” dialog box. RELATED: If you want the same default file name to be used for all documents of a specific type, you can for use with those documents and set the “Title” property in the template. NOTE: You do not need to add the file extension (.docx) to the “Title”. Word automatically adds that to every file name. When you and you save the document for the first time, the text you entered into the “Title” property is entered as the default file name in the “File name” edit box on the “Save As” dialog box. You can simply add to or change the file name for each document when you save it. ![]() NOTE: If your document does not have any text in it and you haven’t set the “Title” property, Word inserts “DocX.docx” as the file name, where the “X” is a number that depends on how many new documents you have created during your current Word session. This number is set back to “1” after you close all open Word documents. Just to let you all know, the latest 15.23 release for Office 2016 for Mac makes most Content Controls usable in Word for Mac. The exception is the Building Blocks control. Word 2016 for Mac still uses AutoText instead of Building Blocks, but the control doesn't appear to support AutoText. Word for Mac still can't create these controls, they have to be inserted in Windows versions. I intentionally posted this to the Word for Windows section so that Windows users can be aware of this new cross-platform functionality. Thanks for the quick response John! I just want to fill the fields programmatically. ![]() They were all inserted in the Document on Windows, and now I want to fill them with Excel information in a Mac computer. Using the simple command bellow: MsgBox ActiveDocument.SelectContentControlsByTitle('Processo').Count or ActiveDocument.SelectContentControlsByTitle('Processo').Item(1).Range.Text = 'Test' Its gives error 348: 'object doesn't support this property or method' On windows they go as expected. So now I need to know if there is any way to fill them programmatically, or any workaround to do this. Thank you again! That is a deficiency in Word 2016 for Mac. It has an incomplete support of Windows VBA objects. Unfortunately, since the VBA Editor also lacks an Object Browser, the only way to find this is by running a test, as you have done. If the source document formatting is under your control, you might consider replacing the content controls with mailmerge fields or legacy form fields, both of which have better support on the Mac. Brandwares - Advanced Office template services to the graphic design industry and select corporations. John Korchok, Production Manager [email protected]. None of the potentially relevant collections or objects is available in the current version of Mac Word (I am on 'the Office Insider Slow 15.36' build). In VBA or Applescript. No ContentControls, ContentControl, CustomXMLParts or CustomXMLPart AFAIK the only interface currently available that would let you populate a content control is the Javascript API, but using that requires a completely different approach, particularly to how you distribute your project. Further, at this point I cannot tell you whether a piece of JavaScript loaded into Word would let you access data via Excel. The only other way to do it would be if the Word document was closed and you modified its content directly. If you can ensure that your content controls are connected to elements in custom xml parts, you could for example populate a chunk of XML and replace the existing part in the OOXML file. I know that is feasible on Windows using VBA+a bit of trickery+(optionally) the MSXML object. I don't know whether that is feasible using VBA + Applescript+calls to MacOS (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |