Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Embedding Your Phone Number in a Workbook.

Embedding Your Phone Number in a Workbook

Written by Allen Wyatt (last updated October 5, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


1

Excel is used quite extensively in corporate environments. It is often desirable to know exactly who created a workbook, particularly if it has been months since a workbook was last reviewed. Excel keeps track of non-workbook data that can be used to help identify an author. One piece of data that could be very helpful is the phone number of the workbook's author. To specify a phone number, follow these steps if you are using Excel 2010 or a later version:

  1. Display the File tab of the ribbon.
  2. Make sure the Info option is selected at the left side of the dialog box.
  3. Click the Properties link near the right side of the dialog box and then click Advanced Properties. Excel displays the Properties dialog box for your workbook.
  4. Make sure the Custom tab is selected. (See Figure 1.)
  5. Figure 1. The Custom tab of the Properties dialog box.

  6. In the list of properties at the top of the dialog box (listed in the Name control), choose Telephone Number.
  7. In the Value box, enter the phone number you want associated with the workbook.
  8. Click on Add.
  9. Click on OK.

If you are using Excel 2007, the steps are slightly different, with the biggest difference being in how you display the Properties dialog box:

  1. Click the Office button, click Prepare, and then click Properties. Excel displays an abbreviated set of properties just above your worksheet.
  2. Click the down-arrow next to Document Properties and choose Advanced Properties. Excel displays the Properties dialog box.
  3. Make sure the Custom tab is selected.
  4. In the list of properties at the top of the dialog box (listed in the Name control), choose Telephone Number.
  5. In the Value box, enter the phone number you want associated with the workbook.
  6. Click on Add.
  7. Click on OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9727) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Embedding Your Phone Number in a Workbook.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Keeping the Flash Drive Occupied

Working on a document stored on a flash drive can have some unintended consequences. Here's some help in understanding ...

Discover More

Checking if a Workbook is Already Open

Knowing of a workbook is already open can be a prerequisite to your macro working correctly. Here's how to check it out.

Discover More

Inserting the User's Initials

One of the pieces of information tracked by Word are your name and initials. You can insert your initials by using the ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Drop-Down List Font Sizes

Excel has several features that cannot be customized. The font size in the drop-down lists is one of them. If you need ...

Discover More

Displaying a Count of Zeros on the Status Bar

Excel allows you to display the results of several common worksheet functions on the status bar. The available functions ...

Discover More

Frequent Workbook Recovery Prompts

When you open a workbook, Excel examines that workbook to make sure it can understand the data it contains. This can lead ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2024-10-07 10:16:43

J. Woolley

My Excel Toolbox includes the following function to set the text, numeric, logical, date/time, or error value of a workbook's document property and return confirmation:
    =SetDocProperty(Name, Value, [AsDate], [Delete])
Name's case is ignored if built-in or custom document property Name exists; in this case it will be set to Value. Otherwise, a new custom document property Name/Value pair are added; in this case Name's case is retained.
If AsDate is TRUE, Value is treated as date/time; default is FALSE.
If Delete is TRUE, custom document property Name will be deleted; default is FALSE. A built-in document property cannot be deleted.
For example, this formula will set the "Telephone number" custom document property as text:
    =SetDocProperty("Telephone number", "123-456-7890")
The following function returns the value of a workbook's built-in or custom document property:
    =GetDocProperty(Name, [Approx])
Name's case is ignored. If optional Approx is FALSE (default), then Name is considered explicit; otherwise, the value of the first document property containing Name is returned. Text values are returned directly. A logical, date/time, or error value will be returned as equivalent text; any other number is returned as a number.
For example, this formula will return the first document property containing "telephone" in its Name (case ignored):
    =GetDocProperty("telephone", TRUE)
The following dynamic array function lists the workbook's built-in and custom (if any) document properties with 2 columns and N rows:
    =ListDocProperties([SkipNull], [SkipCustom], [SkipHeader])
There are currently 34 built-in document properties in an Excel workbook; many of these normally have a null value. Custom document properties do not exist until set; the Names in the Tip's Figure 1 are merely suggestions.
Each worksheet can have custom properties independent of a workbook's custom properties. The following functions set or return the value of a custom worksheet property:
    =SetCustomWSProperty(Name, Value, [Sheet], [Delete])
    =GetCustomWSProperty(Name, [Sheet])
Name's case is ignored if custom worksheet property Name exists; otherwise, its case is retained when the new Name/Value pair are added.
Value is always converted to equivalent logical, date/time, numeric, error, or other text and returned as text.
If optional Sheet is omitted, the custom property applies to the formula cell's worksheet; otherwise, it applies to the specified Sheet (case ignored) in that cell's workbook.
If Delete is TRUE, custom worksheet property Name will be deleted; default is FALSE.
The following dynamic array function lists any custom worksheet properties:
    =ListCustomWSProperties([AllSheets], [SkipHeader])
If AllSheets is FALSE (default), only the formula cell's worksheet will be evaluated; otherwise, all worksheets in the workbook are included.
The SpillArray function (described in UseSpillArray.pdf) simulates a dynamic array in older versions of Excel.
See https://sites.google.com/view/MyExcelToolbox


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.