View Single Post
 
Old 08-13-2011, 06:56 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit 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

Quote:
Originally Posted by rtcole View Post
Thanks so much for the help. I have followed the copy and paste procedure, pasting the whole macro from the window above, and tried the macro. I get "Compile Error: Expected End Stub" and when I click help, I get:

"An End procedure statement must match the procedure in which it occurs. This error has the following cause and solution:
  • You used End Function or End Property to end a Sub procedure.Use End Sub for this type of procedure"
It seems that the macro does have "End Sub" so what do I need to do?
Are you sure you copied & pasted the whole macro - it certainly inlcudes the 'End Sub' statement! Also, no-one else has reported this error, which suggests the problem is at your end.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote