Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello. I can't figure out how to clear before my command using the command handler. The command line always says it doesn't recognize my command. I've tried:
RibBtn.CommandParameter = "^C^CCommandName"
RibBtn.CommandParameter = "^C^C CommandName"
RibBtn.CommandParameter = "CommandName" the following use this same parameter
Doc.SendStringToExecute(Chr(94) & "C" & Chr(94) & "C" RibBtn.CommandParameter & " ", True, False, False)
Doc.SendStringToExecute("^C^C" & RibBtn.CommandParameter & " ", True, False, False)
It does work though if I call just the command name. It feels weird not clearing before calling a command. Any ideas?
Solved! Go to Solution.