Quantcast
Viewing latest article 1
Browse Latest Browse All 12

Create an Excel Shortcut Menu That Writes Selections to a Text File

It doesn't take much code to add a command to a shortcut menu in Excel, but the menu objects have strange names so it's not intuitive, to me at least. The trickiest part is just sorting out how it's supposed to work, because it seems like it should be different from adding buttons to toolbars, but it really looks like that's what you're doing.

The code is all posted in this post on the VSTO team blog.

Thanks to McLean Schofield, programmer/writer and 3-star forum answer person, for this code example!

Image may be NSFW.
Clik here to view.

Viewing latest article 1
Browse Latest Browse All 12

Trending Articles