Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 111
  • Last Modified:

VB macro Addin

I created a macro with a shortcut and now need to distribute that macro to a group of people to use.  I saved the macro in a new spreadsheet as an xlsm file and then sent it to a test subject and had him save it as an XLAM file, addin.  If you run the macro from the developers tab it runs just fine, but if I try to use the shortcut key stroke, cntrl-z which was set up when I wrote the macro, it doesn't work.  Does saving the file as an addin break the macro shortcut key functionality?
0
Rrave26
Asked:
Rrave26
  • 2
1 Solution
 
Martin LissRetired ProgrammerCommented:
Probably, but in any case Ctrl+Z is "Undo" so you probably want to choose a different shortcut.
0
 
Rrave26Author Commented:
Thanks.
0
 
Martin LissRetired ProgrammerCommented:
I did check and an add-in with a macro assigned ti Ctrl+Z did not work but one assigned to Ctrl+Alt+A did. In any case you're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now