A family of Microsoft word processing software products for creating web, email, and print documents.
I hate to play guessing games...
I guess Sub FormCopy is located in your form, that is a class module!
You can only execute public subs from within a regular module!
Make a new file, add a userform, add this sub:
Sub Hello_World()
MsgBox "Hello World"
End Sub
add a regular module, add this code:
Sub MyHello_World()
UserForm1.Hello_World
End Sub
Sub Fails()
Application.Run "UserForm1.Hello_World"
Application.Run "Hello_World"
End Sub
Sub Works()
Application.Run "MyHello_World"
End Sub
The Commandbar Object calls Application.Run to execute the OnAction property.
Andreas.