MRUFiles.GetDisplayName

Syntax

MRUFiles.GetDisplayName( itemIndex, maxWidth = 200)

Return Value

String

The display name of the filename at the index.

Purpose

Returns a string that you can display in a menu used for opening the most recently used files.

Parameters

itemIndex As Long

[In] Specifies the index of an item.

maxWidth As Long

[In] Specifies the maximum width, in pixels, of the display name string. The width of the string is measured using the system menu font.

This parameter has a default value of 200 .