Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-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
Sep 7, 2001
1,500
0
36
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!
 
Replies continue below

Recommended for you

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,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.
Back
Top