03.04.2020

Microsoft Word For Mac Canot Select Custome Field

  1. Microsoft Word For Mac Cannot Select Custom Field In Outlook
  2. Microsoft Word For Mac Canot Select Custome Field Address
  3. Microsoft Word For Mac Cannot Select Custom Field Work

Nov 14, 2019 Launch Microsoft Word, then select the Mailings tab Select Recipients Create a New Lists. The data source window will appear on the screen. As you can see, the List Fields are already populated with names you could use. Just to be safe, I would remove all of them and use your own to avoid any confusion. This article explains how to use the Mail Merge feature in Microsoft Word to create and to print form letters by using data from a Microsoft Excel worksheet. And then select the field from your data source that corresponds to the field required for the mail merge. Word cannot insert that field information into the merged document. 2020-3-31  Cross-reference links do not update to the correct heading number after you insert a new heading. 3/30/2020; 2 minutes to read; Applies to: Word for Office 365, Word 2019, Word 2016, Word 2013, Word 2010, Word Home and Student 2010. When you open a document in one of the versions of Microsoft Word that is listed in the 'Applies to' section of this article, the FILENAME field (and path if applicable) does not update to the name and the location of the file that you just opened.

Making a form in Word 2011 for Mac is as simple as choosing appropriate form controls from the Developer tab of the Office 2011 for Mac Ribbon, placing them in your Word document, and then enabling your form by turning protection on. The text input field is the most common form field. You might have filled in thousands of them in your lifetime. Name, address, and phone number are appropriate for text fields.

To add a text input field to a document:

  1. In an open Word document, place the insertion point where you want to insert a text form field.

  2. Click the Text Box Field button on the Developer tab of the Ribbon.

    A gray box (the form field) appears in your document at the insertion cursor position, and the fun begins.

  3. Click the gray box to select it and then click the Options button on the Ribbon.

Double-clicking a form control (while the form is not protected) displays the Options dialog for that form control.

The Text Form Field Options dialog is devilishly simple, yet brilliant. When you click the Type pop-up menu and choose a text field type, the rest of the Text Form Field Options dialog changes to offer appropriate choices based on your selection. Here are the six types of text form fields from which to choose:

  • Regular Text: Word displays whatever is typed.

  • Number: Numbers can be formatted and used in calculations.

  • Date: Dates can be formatted.

  • Current Date: Displays the current date in your form.

  • Current Time: Displays the current time in your form.

  • Calculation: Calculates values based on entries made in numeric fields.

Microsoft word for mac canot select custome field 2

The Text Form Field Options dialog allows these options for Regular Text:

  • Type: Choose a field type as described in the previous paragraph.

  • Maximum Length: Specify the number of characters allowed in the field.

  • Default Text: This text appears as a prompt in the field.

  • Text Format: Choose a text formatting option from the pop-up menu.

  • Run Macro On: If macros are available to this document, you can choose one to be triggered as the form field is clicked into or exited.

  • Field Settings: These settings are available:

    • Bookmark:Add a bookmark name to your form field.

    • Calculate on Exit: If you have calculated fields, select this check box to have them calculate when exiting the form field.

    • Fill-In Enabled: Select this check box so your field can be typed in.

    • Add Help Text button: This opens the Form Field Help Text dialog that enables you to add a prompt or explanatory text about the form field. This help text appears in the status bar at the bottom of the document window, or you can have it appear when the user presses the Help button on the keyboard (but not from the Help option you see when you right-click or Control-click the field).

Work with form fields and set their options while the form is unprotected (or unlocked). You have to protect (or lock) a form before you can fill in the form fields.

The MacroButton field is a field developed in early versions of Word (pre-Windows). The name comes from the ability to trigger a macro. It was early used to insert dummy text for typing and can still serve that function well, without any macros. It continues to work, well, in Word 2019.

  • MacroButton Fields to run a Macro

MacroButton Fields - Syntax and Behavior

Syntax

{ MacroButton MacroName DisplayText }

MacroButton - the field command

MacroName - name of macro being called - or 'NoMacro'

DisplayText - text that acts as the 'button' for the macro and is displayed in your document. Note that there are no quotation marks used in this field. DisplayText can be any text you want but will not wrap to a new line. There are limits on length. Instead of the DisplayText you can insert an inline picture or icon to act as a visual button for your macro. See below, though for images. The text in a MacroButton field prompt cannot be longer than a single line between the left and right indents for the paragraph. You can shrink the font size of the prompt text to fit more words on that single line.

Behavior

Clicking on a MacroButton field will select the field. Double-clicking on one will activate a macro if there is a macro designated. You can change this behavior to make the macro activate on a single click as well.

MacroButton Fields as Prompts

You can use the first behavior (selecting the field) to make simple click-and-type prompts. If you look at many of the templates that come from Microsoft with Word, you will find places that say something like '[Click here and type].' If you click at that spot, the whole prompt is selected and anything you type replaces it. Often, this is exactly what you want for a simple prompt. What you are seeing is a simple implementation of the 'MacroButton' field. This use of the macrobutton field is the forerunner of Content Controls.

To insert a MacroButton field like this in your document type it then make it a field.

As is the case with all fields, you cannot simply type the field braces { }. You either have to use Word's Insert => Field or press Ctrl+F9 and type the field contents. To get: { MacroButton NoMacro DisplayText} you could simply type 'MacroButton NoMacro DisplayText' and select it. Then press the Ctrl+F9 key combination to make it a field. Pressing F9 will update it to the field display of DisplayText. You must create or edit the field manually to get colors or other formatting in your prompt text that will disappear when the user actually uses it and types.

2020-1-16  Word document won't open on mac I have Office 365 provided by my organization. Windows computer and mac to edit my documents and to keep them in sync, i use OneDrive. On mac, some of the Word documents give issues when i open them. The same documents open fine on Windows, so i know the file is not corrupted. If Mac OS had a registry. Microsoft word documents not opening on mac. Have you been trying to open a word document but failing unknowingly? If yes, then you might want to know why Microsoft word won't open on Mac. In case you are facing troubles with MS Word, we are providing you plausible solutions to the problem. 2018-4-16  Word for Mac document stops responding when you try to open a document. Content provided by Microsoft. When you try to open a Microsoft Word for Mac document, Word for Mac stops responding. Additionally, you may have to use.

Inserting a MacroButton field like this in your document using the Field insertion dialog is a bit more involved:

(Word 97-2003) Insert => Field ..

(Word 2007-2019) Insert => Quick Parts => Field ..

Where it says Field: type 'MacroButton NoMacro prompt.' The 'MacroButton' is the name of the field. 'NoMacro' is the name used by the field for the macro to be called - in this special case, none. The 'prompt' is whatever prompt text you want. This can be '[Click here and type]' or the text that will usually be just fine but which the user might want to change. 'NoMacro' is used as a convention to indicate that there is no macro being used. Note that if there was an available macro with the name 'nomacro' that macro would be run by this field. Any name that does not indicate an available macro will give the same result, that is, the entire field will be selected when clicked on (as always happens with a MacroButton) but since no macro can be found, the result is selected text. If you want to format your prompt text, you need to do that by revealing the field code and editing. To me, typing the field and then using Ctrl+F9 to insert the braces is much easier.

As is the case with other fields, the F11 key will take you to the next field, selecting that field. When you use macrobutton fields as prompts, you may want to put an instruction in your documents to use F11 to go to the next field. I do this putting the instruction in blue or red text and a different font in a textbox formatted to float in front of text. The textbox is formatted to have no lines and no fill. The text in the textbox is formatted as hidden so it should not print. I have this textbox as an AutoText entry in my developer's template so that I can insert it easily when I prepare a new template.

Below is an example of how a Macrobutton Prompt appears in a document. (Screenshot) The field code for this prompt is:

{ MacroButton NoMacro This is a macrobuttonprompt! When you click on it, all is selected. }

The first paragraph shows the prompt as displayed on the page. The second shows the prompt after it has been clicked on before typing; the third shows that the prompt colors do not show up in the text after the user types.

You can download a free Add-In that gives you a dialog box below to add a MacroButton prompt to your document where you want with a choice of colors for the prompt text.

Dialog box from Add-In

MacroButton Fields to Run Macros

Instead of simply being a prompt for typing, this MacroButton field will run a macro if double-clicked. (This can be altered to a single click using VBA.) Instead of NoMacro, simply type the name of the macro. When inserting the field, you can click on the Options button and you will be given a list of available macros (possibly quite a long list) from which to select.

Where it says 'Macros defined in active document' a more accurate caption would be 'Macros available to active document.' This list also includes all of Word's built-in commands, many of which are not found on the menus.

Note that the MacroButton field is selected when it is clicked or double-clicked. You may want to have your macro collapse the selection at some point so that your MacroButton field won't be inadvertently deleted. The language for this is:

Note also that a macro button prompt will print as ordinary text. (It is the field result). To avoid it being printed, you may want to put it in a no-border text box formatted as hidden text (Format => Font). Because of this, it is often easier to use a custom toolbar with a button on that toolbar. The toolbar will not print.

MacroButton Fields can be used in Protected Forms and will be active even in a protected portion of the document. They are often used in such forms as a replacement for hyperlinks (since regular hyperlinks are inactive in the protected portion of a form).

A simple example of macrobuttons can be found in the CheckBox template. This template/tutorial combines the powers of macros, autotext, and the macrobutton field.

MacroButton Fields where the Macro responds to the contents of the field (uses them as an argument or variable for the macro)

It is possible to use one macro that responds to the contents of the field to change what the macro does. Doing this with Private or AddIn fields incorporated in MacroButton fields is discussed in the MacroButtons page on the MVP FAQ site. The same technique can be used with just the display text of the MacroButton field.

The macro is:

Sub TestMacro2()
Dim MyString As String
'Ignore first 24 characters of the macrobutton field -
'the words 'MacroButton TestMacro2', and the spaces
MyString = Mid$(Selection.Fields(1).Code, 24)
MsgBox MyString
End Sub

The field is:

{ MacroButton TestMacro2 [Click Here] }

This can be used to construct a list of templates in the Workgroup Templates folder as macrobuttons. When you double-click (or single-click as shown below) on the macrobutton, the macro creates a new document based on the named template. A single macro decides which template to open based on the template listed in the macrobutton field.

That is, the following fields both call the same macro:

{ Macrobutton TemplateListLoad ReleasesRelease - blank}(Displays: ReleasesRelease-Blank)

{ Macrobutton TemplateListLoad Log}(Displays: Log)

The macro uses the display information to decide which template to use. The macro is:

Microsoft Word For Mac Cannot Select Custom Field In Outlook

Sub TemplateListLoad()
' Based on ideas from http://wordmvp.com/FAQs/TblsFldsFms/UsingMacroButton.htm
' Macro written by Charles Kyle Kenyon
' 24 October 2002
'
Dim sTemplateName As String
Dim sTemplatesPath As String
'
' Get workgroup templates path
'
sTemplatesPath = Options.DefaultFilePath(wdWorkgroupTemplatesPath) & '
'
' Parse template name from Macrobutton field.
' (The selection is the entire field.)
On Error GoTo ErrorHandler
sTemplateName = Mid$(Selection.Fields(1).Code, 31) & '.dot'
' Use to create a new document based on the template
Documents.Add Template:=sTemplatesPath & sTemplateName
Selection.Collapse
Exit Sub
'
End Sub

Making MacroButtons respond to a single click

To me, double-clicking on a button is counter-intuitive. To make a macrobutton respond to a single click to run a macro the following VBA code has to be active:

Options.ButtonFieldClicks = 1

This has to be run before the user tries to click on the button. It can be in an AutoOpen or AutoNew macro in the template which contains the macrobutton or in an AutoExec macro in a global template. (Explaining these gets beyond the scope of this article; see Template Basics for more.)

Microsoft Word For Mac Canot Select Custome Field Address

Using MacroButtons to function as hyperlinks in protected forms.

Microsoft word for mac cannot select custom field work

In a document that has been 'protected' as a form in Word, hyperlink fields don't work, but macrobutton fields do work. You can use a macrobutton for a hyperlink to an external document or web page (and even format it to look like a hyperlink) in a protected document. It is more work than merely inserting a hyperlink, though. (You can also use a macrobutton to link to an internal bookmark with reservations, see end of this section.)

  1. With your document not protected for forms, record a macro that opens the document to which you want to link. Save the macro in your document (not in Normal.dot) when you record it.
  2. Use the Macro Editor (Alt+F11) to edit your macro. At the end of the macro (just before 'End Sub') add the following line.
    Selection.Collapse
  3. Where you want your hyperlink Press Ctrl+F9 to insert your field codes and type 'MacroButton MyMacro displaytext.' where 'MyMacro' is the name of your macro and 'displaytext' is what you want the hyperlink to show in your document. (See Syntax above)
  4. Press F9 to update your field. It should show your displaytext.
  5. Select your field and press Ctrl+Shift+S to get into the styles drop-down.
  6. Type 'hyperlink' for the style name and press enter.

When you protect your document your pseudo-hyperlink should work fine. Remember to set the ButtonFieldClicks to 1. Also, the mouse pointer will not change to a little hand when passing over your pseudo-hyperlink - but we can't have everything, can we?

If you would like some pre-written code for your hyperlink macrobutton, you can download HyperJmp.zip from the Visual Basic MVP site.

For alternative coding, take a look at Using Hyperlinks in Protected Forms on the MVP site. They show how to use a single macro for all your hyperlinks in the document.

When the target of the link is within the protected form it doesn't work quite so well. It will jump to the field addressed by your bookmark if your bookmark is for a formfield, otherwise to the field following your bookmark. If there is no field following your non-field bookmark, it jumps to the first field in the document. Note that fields inserted with the Forms toolbar automatically have a bookmark assigned. (You can change that bookmark in the field's properties.) Thanks to Marcy T. for bringing this problem to my attention.

For more on protected forms, follow the links in my web resources page, especially those to Dian Chapman's excellent series of articles.

Example of MacroButton Field Use in Multiple Ways - The Microsoft Fax Transmittal Template from Word 97

Note the checked box by 'For Review.' Here is the same template after toggling display of Field Codes (Alt+F9). The prompts for user input are MacroButton fields not associated with any macro. A dummy name of 'NoMacro' is inserted but the purpose of the field is to display the prompt. The checkboxes in the form are MacroButton fields, not Form Checkboxes or Content Controls! Both of these use the property of MacroButton fields to select the entire field when clicked on. The display text for the checkbox fields is the unchecked or checked box.

If there were an active macro named NoMacro (or nomacro) these MacroButton fields would call that macro!

The name of the macro called by the (unchecked) Urgent checkbox is 'CheckIt.' The one called by the (checked) For Review checkbox is 'UncheckIt.' Look again at the form with the field codes not showing. All you see is the display text - the checked and unchecked boxes.

See Checkbox Add-In for samples.

Different behaviorwith images for text in .doc vs .docx formatted documents

An image does not work well as a prompt in document (templates) formatted as .docx or .docm (.dotx or .dotm). These are the document and template formats for the Ribbon versions of Word (2007+). See this post on the Microsoft Answers forum. The image is selected, not the field. If the image is deleted by the user and the user types, that typing becomes the prompt for the field. Clicking or double-clicking on the field will not run a macro.

If the same document is saved in .doc or .dot format, the macrobutton field will act as specified. The screenshot below is from a document in .docx format when the MacroButton Field has been clicked on.

Here is a screen shot of the same thing, except the same document has been saved in .doc format:

In the .doc format, clicking on the image selects the field containing the image (and a double-click will run an associated macro). If the user types anything, the image is deleted, the field is deleted, leaving only the typing. When in .docx format, the image is selected in the field. No macro is run. If the image is deleted by the user and the user types, what the user types becomes the new MacroButton field prompt! If there is no image, or if the user clicks on a text prompt included with the image, the field is selected, including the image, and replaced by typing.

Here is another sample using a smaller image, in .docx format:

3. shows the field structure with the button image following the text.

1. shows what it looks like when the image is clicked on. Note the image moves in front of the text even though formatted to be inline with text. If there is a macro, it will not run in this condition.

2. Shows what it looks like when the space after the text is clicked on or the field is entered using the F11 (next field) function key. When this is done, if there is a macro, it will run.

What happens in these instances when text is typed?

In Word 2007 and later when you click on the image, any text typed is added to the MacroButton Field prompt text. If the field itself is selected or you click in the area following the image, the field is replaced by typing. In this second instance, if there is a macro, it is run first.

If the same fields are saved in a .doc (Word 97-2003) format, the field simply acts as a macrobutton field.

See Greg Maxey's page on Toggle objects for some ways to get Word to respond to images in macrobutton fields. One method is with spaces, another is with the IncludePicture field inserting the image. The second suggestion comes from Doug Robbins. An example using the IncludePicture field:

{ Macrobutton NoMacro { INCLUDEPICTURE 'http://addbalance.com/word/images/PillcrowFlying.gif' } }

Using that construction, the image is selected with the macrobutton (and replaced by typing).

MacroButton Field Prompts compared to Content Controls

Macrobutton prompts and text content controls can have a similar appearance in a document. Here is a screenshot showing plain text Content Controls and a MacroButton field prompt. Both have the placeholder text formatted using the PlaceHolderText style.

  • Both select the entire contents when you click in them. When not selected, they can be indistinguishable to the user.

  • The color of placeholder text can be edited when you create them and can be something that is very different from the color of the text that will be typed.

  • Unless formatted to delete the content control when edited, the content control will remain with edited text. The macrobutton field will be replaced by typing.

  • MacroButton field prompts will work in versions of Word that do not work with Content Controls as well as those that do. This includes Mac versions.

MacroButton Fields and the Table of Contents

If you have a MacroButton Field that is in text that shows up in a Table of Contents, it will be formatted as a Hyperlink in the Table of Contents and the Macrobutton Field will be an active field in the TOC. (This is not true of a hyperlink field.)

Additional references on MacroButton fields

  • MacroButton field reference on MS site
  • Checkbox AddIn - a tutorial on the use of MacroButton fields together with AutoText and Macros to insert checkboxes into non-protected documents.
  • Using MacroButton Fields by Graham Mayor, Jonathan West and Hak-lok NG
  • Using {MacroButton} fields to insert information from the Outlook Address Book into documents such as letters by Graham Mayor, MVP
  • Instant Envelopes Using the MacroButton Field and VBA by Dian Chapman, MVP
  • Using MacroButton Fields to insert information into documents and templates by Graham Mayor, MVP - includes details on the Checkit method used in early Word templates

Microsoft Word For Mac Cannot Select Custom Field Work


(this guide table of contents) ----- (MS Word New Users FAQ)