View Single Post
 
Old 05-30-2014, 06:02 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your code calls a sub named AltPrintScreen, via:
Call AltPrintScreen
but you haven't included that.

Furthermore, your code has Workbook_Open, but that's for Excel, not Word. What application is this code for?

PS: Please don't post code that isn't directly connected to the problem. You've posted a bunch of code relating to spin buttons, plus your UserForm_Initialize and CreateShortCut code, but there's nothing to indicate how or whether they're relevant - only the CommandButton1_Click and the missing AltPrintScreen subs appear relevant.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote