Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

MacroOptions method

Status
Not open for further replies.

pmover

Mechanical
Joined
Sep 7, 2001
Messages
1,507
Location
US
i wish to utilize the MacroOptions method for creating descriptions for user defined functions.
my PC uses OSX Yosemite (ver 10.10.5), Excel for Mac 2011, and VBA (14.6.5).

I followed the example at this link:
Unfortunately, an error "Compile error: Named argument not found" is generated when using the parameter argumentdescription for the MacroOptions method. this leads me to believe that this parameter is not available for this OSX + application version as seen in this image.

Screen_Shot_2016-12-11_at_12.10.39_PM_eenfmc.png


what are other options available for creating the descriptions?

thanks!
 
Hi,

That argument name is PLURAL: ArgumentDescriptions.
expression .MacroOptions(Macro, Description, HasMenu, MenuText, HasShortcutKey, ShortcutKey, Category, StatusBar, HelpContextID, HelpFile, ArgumentDescriptions)

expression A variable that represents an Application object.

Please note that this feature is only applicable for Office 2013 and later.

Skip,

[glasses]Just traded in my OLD subtlety...
for a NUance![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top